Skip to content

Integrate battery status and dynamic channel handling#27

Closed
Amanmahe wants to merge 554 commits into
akadeepesh:mainfrom
Amanmahe:main
Closed

Integrate battery status and dynamic channel handling#27
Amanmahe wants to merge 554 commits into
akadeepesh:mainfrom
Amanmahe:main

Conversation

@Amanmahe
Copy link
Copy Markdown

This PR introduces two key improvements to the muscle strength and FFT visualizer modules:

  1. Battery Status Integration: Adds real-time battery level monitoring and display within the UI, allowing users to track device power levels during operation.

  2. Dynamic Channel Handling: The visualizer logic has been updated to handle a variable number of active channels. Instead of relying on a static configuration, it now dynamically adapts to the incoming data stream, making it more resilient to changes in channel setup.

@lorforlinux, please review and merge it.

Ritika Mishra and others added 28 commits November 18, 2025 12:56
Resolve build failures, upgrade Next.js and dependencies
Updated version of next to ^16.0.7 and react 19.0.1.
- Replace single-file storage with chunk-based architecture
- Add FileMetadata store for tracking file information
- Implement DataChunks store with composite key [filename, chunkIndex]
- Update write operations to append only to relevant chunks
- Maintain backward compatibility with existing API
- Improve performance for 500Hz continuous data streams
- Reduce memory usage from O(n) to O(1) for append operations

BREAKING CHANGE: Database version upgraded to 3. Existing data will be migrated automatically.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants