rockbox/firmware/target
Aidan MacDonald 806b71b2ed hosted: consolidate sysfs-based battery measurement code
Several hosted targets read their battery state from a fixed
sysfs path. Get rid of the duplicated code by handling this
common case in power-linux.c.

Some targets use non-standard units in sysfs instead of the
typical microvolts / microamps, so allow the scale factors
to be overridden by the target.

Change-Id: I31dc4ffc7a2d2c066d00a74070f9f9849c1663d0
2025-12-01 13:39:04 +00:00
..
arm Fix build regression for Creative ZEN V 2025-11-28 07:38:40 -05:00
coldfire Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
hosted hosted: consolidate sysfs-based battery measurement code 2025-12-01 13:39:04 +00:00
mips misc: Fix some build warnings with gcc9 2025-09-21 00:18:28 -04:00