More hints for u; even u enable u drivers, u may still have problems.  
Do check the content in sys/class/power_supply/ to make sure it has  
what Android expected.Athe first thing u may need to fix is the paths  
in com_android_batteryservice.cpp.
Please take a look on the X86 patches for detail.
It depends on u battery type, u may see even more issues, but most of  
them are easy to fix and no need to mention here
Yi



On Apr 26, 2009, at 2:59 PM, Yi Sun <beyo...@gmail.com> wrote:

> You need to enable u AC and BAT driver.
>
>
>
> On Apr 26, 2009, at 9:37 AM, Elvis Dowson <elvis.dow...@gmail.com>  
> wrote:
>
>>
>> Hi,
>>     I've ported the android-2.6.29 kernel to the Overo linux-
>> omap3-2.6.29 kernel version. The android logo boots up, and after
>> sometime, the system shuts down.
>>
>> When I look in the find /sys/class/power_supply folder, I don't see
>> anything. I have enabled CONFIG_POWER_SUPPLY=y in my defconfig.
>>
>> What could be going wrong? Why are the required devices not being
>> created?
>>
>> Best regards,
>>
>> Elvis
>>
>> I/SystemServer(  865): Starting Battery Service.
>> E/BatteryService(  865): Could not open '/sys/class/power_supply/ac/
>> online'
>> E/BatteryService(  865): Could not open '/sys/class/power_supply/usb/
>> online'
>> E/BatteryService(  865): Could not open '/sys/class/power_supply/
>> battery/present'
>> E/BatteryService(  865): Could not open '/sys/class/power_supply/
>> battery/capacity'
>> E/BatteryService(  865): Could not open '/sys/class/power_supply/
>> battery/batt_vol'
>> E/BatteryService(  865): Could not open '/sys/class/power_supply/
>> battery/batt_temp'
>> E/BatteryService(  865): Could not open '/sys/class/power_supply/
>> battery/status'
>> E/BatteryService(  865): Could not open '/sys/class/power_supply/
>> battery/health'
>> E/BatteryService(  865): Could not open '/sys/class/power_supply/
>> battery/technology'
>>
>>
>> >>

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to