mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Instead implement a bit of battery monitoring. Currently it only fetches the battery level (in %) every 30s, but it could do more like battery status, charger connected, voltage... Theoretically, we could also exit/quit after some time of inactivity too (perhaps not a bad idea since Rockbox puts a slight but still non-zero CPU load even if doing nothing). Ironically, Rockbox is now the only way to get the exact battery level (at least I haven't found anything yet) on my phone :-) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27974 a1c6a512-1295-4272-9138-f99709370657
18 lines
294 B
Text
18 lines
294 B
Text
#ifndef APPLICATION
|
|
lcd-common.c
|
|
#ifdef HAVE_LCD_CHARCELLS
|
|
font-player.c
|
|
lcd-playersim.c
|
|
sim_icons.c
|
|
#endif
|
|
fmradio.c
|
|
backlight-sim.c
|
|
#endif
|
|
|
|
#if (CONFIG_PLATFORM & PLATFORM_SDL)
|
|
io.c
|
|
sim_tasks.c
|
|
powermgmt-sim.c
|
|
#endif
|
|
/* this is still needed for application since it has some stubs */
|
|
stubs.c
|