mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-06 21:25:03 -05:00
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 |
||
|---|---|---|
| .. | ||
| adc-target.h | ||
| backlight-target.h | ||
| button-rgnano.c | ||
| button-target.h | ||
| instant_play.c | ||
| instant_play.h | ||
| powermgmt-rgnano.c | ||
| system-target.h | ||