u nend enable BAT driver 1.Open ur kernel DIR 2.make menuconfig select Device Drivers->Power supply class support -> Goldfish battery driver 3.save 4.make ur kernel file
i think u can see it in the sys/class/power_supply/battery DIR On Apr 27, 12: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 -~----------~----~----~----~------~----~------~--~---