Emulator batteryService not working

Posted by user568551 on Stack Overflow See other posts from Stack Overflow or by user568551
Published on 2011-01-12T02:47:48Z Indexed on 2011/01/12 2:53 UTC
Read the original article Hit count: 208

Filed under:
|

So i've got a 1.6 emulator running. I have a receiver with action power connected and disconnected filters. when i connect to the emulator through telnet and issue the power ac on or power ac off command, logcat shows:

01-11 21:33:01.096: ERROR/BatteryService(67): Could not open '/sys/class/power_supply/usb/online'
01-11 21:33:01.104: ERROR/BatteryService(67): Could not open '/sys/class/power_supply/battery/batt_vol'
01-11 21:33:01.104: ERROR/BatteryService(67): Could not open '/sys/class/power_supply/battery/batt_temp'

and my receiver does not get activated. It was working just fine yesterday and now it does not. I tried reinstalling the AVD, and also deleted and reinstalled the SDK from the SDK manager. Works fine in my 2.2 emulator. Any ideas?

© Stack Overflow or respective owner

Related posts about android

Related posts about android-emulator