rockbox/firmware/target/hosted/xduoo
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
..
adc-target.h
button-target.h xduoo_x3ii: Improvements in the meymappings! 2021-03-10 21:35:44 -05:00
button-xduoo.c Fix red in 82f3d0c18f, accidentaly commited it. 2025-05-04 18:57:31 -04:00
debug-xduoo.c hosted pcm-alsa improvements 2020-10-01 11:56:57 -04:00
lcd-target.h
powermgmt-xduoo.c hosted: consolidate sysfs-based battery measurement code 2025-12-01 13:39:04 +00:00
system-target.h