summaryrefslogtreecommitdiff
path: root/firmware/SOURCES
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-09-01 23:36:15 +0000
committerThomas Martitz <kugel@rockbox.org>2010-09-01 23:36:15 +0000
commitf05cdc46f23bf28d31dfc4fc2ebe4d20e4d6f961 (patch)
tree26fb9244e04ffd4297cb918ae8c7de2b731dd28a /firmware/SOURCES
parentc00fbc4d06dee2f075e8bb1671350c3079c992bf (diff)
downloadrockbox-f05cdc46f23bf28d31dfc4fc2ebe4d20e4d6f961.tar.gz
rockbox-f05cdc46f23bf28d31dfc4fc2ebe4d20e4d6f961.zip
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
Diffstat (limited to 'firmware/SOURCES')
-rw-r--r--firmware/SOURCES1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/SOURCES b/firmware/SOURCES
index 8b71674b36..ac1a3e1be4 100644
--- a/firmware/SOURCES
+++ b/firmware/SOURCES
@@ -1709,6 +1709,7 @@ target/hosted/android/lc-android.c
1709target/hosted/android/button-android.c 1709target/hosted/android/button-android.c
1710target/hosted/android/kernel-android.c 1710target/hosted/android/kernel-android.c
1711target/hosted/android/pcm-android.c 1711target/hosted/android/pcm-android.c
1712target/hosted/android/powermgmt-android.c
1712target/hosted/android/system-android.c 1713target/hosted/android/system-android.c
1713#ifdef APPLICATION 1714#ifdef APPLICATION
1714target/hosted/android/app/button-application.c 1715target/hosted/android/app/button-application.c