Hi,
Android has a UEvent Listener in the Application Framework.
This receives the UEvent from the Kernel.
For BatteryStatus:
You may want to look at
frameworks/base/services/java/com/android/server/BatteryService.java
Similarly, also at BatteryServer.cpp(corresponding JNI..)
Basically the batter
I want to handle uevent in user-space mainly for battery status
changed in my application.
Can this be done using C program?
Can this be done by calling a select() on one of the sysfs which
indicates change in battery voltage?
How Android polls uevents from kernel?
Br/
Hvr
--
You received this m
2 matches
Mail list logo