Battery Stat

59 views
Skip to first unread message

Can Aksoy

unread,
Jan 11, 2016, 11:51:20 AM1/11/16
to android-porting
Hi,
How can I change battery capacity on android kernel? (e.g : default capacity 1860mAh, wanna change it 2300mAh)
Thx.

Devaraj Rangasamy

unread,
Jan 19, 2016, 10:08:22 AM1/19/16
to can.a...@gmail.com, android-porting

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




--
--
unsubscribe: android-porti...@googlegroups.com
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 android-porti...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Regards,
Deva

Manoj Patel

unread,
Jan 19, 2016, 11:09:44 AM1/19/16
to r.de...@gmail.com, can.a...@gmail.com, android-porting
Also, you might want to double check battery parameters read from battery EEPROM if your battery feature design is using that. If default value is coming from it then you need to overwrite it (with EE team approval) or change EEPROM values. 

Hope it helps

Sent from my iPhone
Reply all
Reply to author
Forward
0 new messages