Freerunner battery and APM

Michael 'Mickey' Lauer mickey at
Sun Jan 18 23:32:52 CET 2009

Am Sunday 18 January 2009 22:15:39 schrieb Robert Piasek:
> Some time ago Raster added HAL backend support to E's battery applet. It's
> probing hal and based on it's output indicates battery charge. I wanted to
> test this new feature and surprisingly the results were a bit off from what
> I've expected. I decided to find the cause of my problem.
> On APM enabled .config lshal | grep bat gives me 3 battery capable devices
> (info.capabilities = {'battery'}):

HAL is wrong and needs fixing. sysfs correctly reports the type of the power 
supply devices:

root at om-gta02:/sys/class/power_supply# cat */type


More information about the openmoko-kernel mailing list