1
0
Fork 0
forked from len0rd/rockbox
foxbox/firmware/target/hosted/android
Thomas Martitz f05cdc46f2 Android: don't compile powermgmt-sim.c
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
2010-09-01 23:36:15 +00:00
..
app Android port: add support for hardware keys 2010-08-16 20:12:06 +00:00
button-android.c Android port: simplify sending touch events from Java->C 2010-08-16 20:12:10 +00:00
buttonmap.h Rockbox as an application: Commit current Android port progress. 2010-08-02 20:34:47 +00:00
dir-target.h Ged rid of uisimulator/common/io.c for android builds. 2010-09-01 21:29:34 +00:00
fs-android.c Ged rid of uisimulator/common/io.c for android builds. 2010-09-01 21:29:34 +00:00
kernel-android.c Android port: handle incoming calls. 2010-08-07 21:30:22 +00:00
lc-android.c Ged rid of uisimulator/common/io.c for android builds. 2010-09-01 21:29:34 +00:00
lcd-android.c Implement HAVE_LCD_ENABLE and lcd_update_rect(). When Rockbox runs in the background 2010-08-04 01:03:25 +00:00
pcm-android.c A bit of work in the pcm driver. Should be a bit more efficient, but more importantly more dependable. Stopping playback now properly recovers if playback crashed for some reason (shouldn't happen of course). 2010-08-04 18:34:32 +00:00
system-android.c Android: don't compile powermgmt-sim.c 2010-09-01 23:36:15 +00:00
system-target.h Rockbox as an application: Commit current Android port progress. 2010-08-02 20:34:47 +00:00
thread-android-arm.c Rockbox as an application: Commit current Android port progress. 2010-08-02 20:34:47 +00:00