dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Search | Go
Wiki > Main > SanDisk > SansaE200Port > SandiskE200BatteryMeasurements (r17)

Sansa Battery Measurements

This is about getting the battery level handling of the Sansa straight. Issues are tracked in FS:6860 Help needed Please provide battery_bench data to improve accuracy of the discharge curve.

Patching battery bench

  • The quick and dirty fix provided here is that no measurement buffering is being used but instead an instant file update is forced when voltage values are changing. A source code patch containing this fix is also available in the Flyspray entry FS#8070.

change line 232, add got_info
        if(!in_usb_mode && got_info && 
            (exit || timeflag || got_info || rb->ata_disk_is_active()) )

Limits - to be confirmed

  • Fully charged:
    • 4,20V ?
  • Low power shutdown (done by bootloader?):
    • 3,3V ?


Battery charging is controlled by the integrated charger of the PP5024 SoC, which allows configureable charging current and voltage. The charge control register is currently not configured, resulting in a default maximum charging current of 50 mA and maximum charging voltage of 3.9V. This makes charging slow (and probably incomplete) compared to the original firmware. Furthermore, while USB is not supported yet by rockbox on the Sansa e200, the USB interface is allowed to draw only 100 mA instead of the possible maximum 500 mA.

In the mean time:
  • Use the Sansa original firmware for charging instead.
  • Charging with a dedicated charger with rockbox will not work at full speed.


battery run 03-Apr-2007, Rockbox revision: 13002

battery run 31-Aug-2007, Rockbox revision: 14552

battery run 01-Nov-2007, Rockbox revision: r15294-071025

  • battery_bench.txt: default settings, mix of Q6 vorbis (70-80%) and miscellaneous MP3
  • I did not patch the battery_bench plugin, so only the final five hours are in the file

See also:
r17 - 27 Jan 2008 - 12:48:27 - BertrikSikken

Copyright by the contributing authors.