Android user space get battery capabilities via
drivers/power/android_battery.c ,

android_battery.c gets battery info via platform data, and you need to
update your board file with your battery parameters
Pick any board implementation here for reference -
https://android.googlesource.com/kernel/common/+/1e34b11bc23cb33c285455d750852ee7a5df1ef1/drivers/power




On Mon, Jan 11, 2016 at 7:20 PM, Can Aksoy <[email protected]> wrote:

> Hi,
> How can I change battery capacity on android kernel? (e.g : default
> capacity 1860mAh, wanna change it 2300mAh)
> Thx.
>
> --
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-porting
>
> ---
> You received this message because you are subscribed to the Google Groups
> "android-porting" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Regards,
Deva
*www.bittoggler.in <http://www.bittoggler.in>*

-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to