Chapter 12. Plugins
136
12.4.2. Battery Benchmark
The
Battery Benchmark
plugin enables you to test your battery’s performance whilst
using your player normally. Results can be submitted to the
wiki
page.
How it works
Once loaded,
Battery Benchmark
runs in the background recording various informa-
tion about your battery to memory. A new point is written to memory every minute.
Every time the disk is accessed for any reason (such as refilling the audio buffer, open-
ing a directory or entering USB mode etc.) then the information in memory is written
to disk. Once the memory becomes full (after many hours), then the data are written
to disk anyway. This is done so that the data are not biased by excessive additional
disk accesses.
The file is written to the root directory of your player and is called
battery_bench.txt
. The plugin will continue to log info until:
•
Another plugin is loaded.
•
The player is shut down.
•
The battery is empty.
Benchmarks can be resumed if you accidentally load a plugin, or turn off your player,
so long as the log file
battery_bench.txt
is not deleted.
Information explained
At the top of the
battery_bench.txt
file is various information on how to use the
plugin, followed by the data themselves.
Time
This column reports the total time of operation of the player. It is not the time
that you started the plug-in. If you have your player on for 5 minutes and then
start the plugin, it will start measuring from 5 minutes.
Seconds
The same as
Time
, except measured in seconds.
Level
The percent level of the battery estimated by Rockbox, and not the actual battery
level. The actual battery level can be seen from the
Voltage
column
Time Left
This shows the time remaining until the battery is empty, again as estimated
by Rockbox.
Voltage
The battery voltage in mV at the moment the measurement was taken.
C
This stands for Charger. An “A” in that column shows if the power adapter was
attached to the unit at the time of the measurement.
U
USB powered. Only for targets that support this. A “U” will indicate if the unit was
using the USB port for power at the time of the measurement.
The Rockbox manual
(version 3.14)
Sansa Clip v2