Hi! I am porting the android to the ARM platform. I don't have battery on my device for now, and no proper handling code in kernel for it. So i noticed the errors of opening the "/sys/class/ power_supply/battery/" which of cause i don't have , my guess is that this is not what causes the crash, there is an error for UEventObserver class which is unable to open socket
Can someone please advise me on the issue. I receive the following errors: I/PackageManager( 70): Time to scan packages: 9.56 seconds D/dalvikvm( 70): GC freed 3919 objects / 359456 bytes in 228ms I/SystemServer( 70): Starting Content Manager. I/SystemServer( 70): Starting System Content Providers. I/ActivityThread( 70): Publishing provider settings: com.android.providers.settings.SettingsProvider I/ActivityThread( 70): Publishing provider android.server.checkin: android.server.checkin.CheckinProvider I/ActivityThread( 70): Publishing provider sync: android.content.SyncProvider I/SystemServer( 70): Starting Battery Service. W/dalvikvm( 70): threadid=27: thread exiting with uncaught exception (group=0x40010e28) E/AndroidRuntime( 70): Uncaught handler: thread UEventObserver exiting due to uncaught exception E/BatteryService( 70): Could not open '/sys/class/power_supply/ac/ online' E/BatteryService( 70): Could not open '/sys/class/power_supply/usb/ online' E/BatteryService( 70): Could not open '/sys/class/power_supply/ battery/present' E/AndroidRuntime( 70): *** EXCEPTION IN SYSTEM PROCESS. System will crash. E/BatteryService( 70): Could not open '/sys/class/power_supply/ battery/capacity' E/BatteryService( 70): Could not open '/sys/class/power_supply/ battery/batt_vol' E/BatteryService( 70): Could not open '/sys/class/power_supply/ battery/batt_temp' E/BatteryService( 70): Could not open '/sys/class/power_supply/ battery/status' E/BatteryService( 70): Could not open '/sys/class/power_supply/ battery/health' E/BatteryService( 70): Could not open '/sys/class/power_supply/ battery/technology' E/AndroidRuntime( 70): java.lang.RuntimeException: Unable to open socket for UEventObserver E/AndroidRuntime( 70): at android.os.UEventObserver.native_setup(Native Method) E/AndroidRuntime( 70): at android.os.UEventObserver.access$000 (UEventObserver.java:39) E/AndroidRuntime( 70): at android.os.UEventObserver $UEventThread.run(UEventObserver.java:97) E/AndroidRuntime( 70): Crash logging skipped, no checkin service I/Process ( 70): Sending signal. PID: 70 SIG: 9 I/Zygote ( 67): Exit zygote because system server (70) has terminated --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [EMAIL PROTECTED] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
