Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use smaller files on the SD card #1650

Open
beastoin opened this issue Jan 7, 2025 · 0 comments
Open

Use smaller files on the SD card #1650

beastoin opened this issue Jan 7, 2025 · 0 comments
Labels
firmware firmware work flutter flutter work Paid Bounty 💰

Comments

@beastoin
Copy link
Collaborator

beastoin commented Jan 7, 2025

The larger an SD card file is, the slower the read/write access becomes, and the more battery it consumes.

The current firmware writes one large file to the SD card when the device is disconnected, which leads to significant battery consumption.

Key results:

  • Firmware: When the device is disconnected, write smaller, time-based files (e.g., 5-minute audio chunks) instead of one large file. Each file name must contain a timestamp.
  • App: Sync the audio files according to these smaller file chunks.

Refs:

@beastoin beastoin converted this from a draft issue Jan 7, 2025
@beastoin beastoin added firmware firmware work flutter flutter work labels Jan 7, 2025
@beastoin beastoin changed the title Use small chunks file on SD Card, faster read/write will help reduce the battery consumption Use smaller files on the SD card. Faster read/write speeds will help reduce battery consumption. Jan 28, 2025
@beastoin beastoin changed the title Use smaller files on the SD card. Faster read/write speeds will help reduce battery consumption. Use smaller files on the SD card Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
firmware firmware work flutter flutter work Paid Bounty 💰
Projects
Status: Open
Status: No status
Development

No branches or pull requests

1 participant