Hello,
How would I go about altering the bq27x00 driver so that periodically it
would post a uevent with the current battery capacity contained in the
uevent? IE, getting POWER_SUPPLY_CAPACITY=x in the
/sys/class/power_supply/bq27200-0/uevent file?
Thanks..
Regards,
Steve
On Thursday, August 2, 2012 3:32:16 AM UTC-7, K.U. wrote:
>
> Hello all,
>
> I am working on an Android-ICS porting project onto a custom Android Tab,
> which uses AM3730 (TI's ARM) processor. The device is based on the
> BeagleBoard architecture. The device has a fuel guage (BQ27200) and a
> charger IC (BQ24150) which communicates with a
> MSP430 micro-controller firmware.
>
> My main problem is how to display the battery status through the "battery
> icon" on the taskbar? Also I am aware that the other battery related
> operations/status (charging, discharging, battery low, fully charged) could
> also be read by the Android system and act accordingly. I could not find a
> clear set of instructions on how to integrate these features with android.
>
> Can some one kindly direct me to a link/site where I can find a guide for
> this task? Or if any of you can take the time to reply this post, it will
> be greatly appreciated.
>
> NOTE: I successfully integrated a custom keyboard by following the
> instructions in AOSP (
> http://source.android.com/tech/input/keyboard-devices.html). I am looking
> for a similar article on how to integrate the battery/ battery charger.
>
> Thanks and best regards,
> K.U.
>
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting