I found out the problem myself. The driver or porting layer should generate the event itself, and that is ^^
On 7月30日, 下午1時45分, John Cola <[email protected]> wrote: > Dear All > > I've implemented power_supply in my charger driver, and it can update > charging information for the power_supply structure such as /sys/class/ > power_supply/battery/status .... > > However, in Android Java layer of mUEventObserver.startObserving > ("SUBSYSTEM=power_supply") cannot receive the notification when the > status or capacity is changed. > > What else did I miss??? Can anyone give me some clues? > > BR > John --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
