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

> On Jan 19, 2016, at 7:14 AM, Devaraj Rangasamy <r.deva...@gmail.com> wrote:
> 
> 
> 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 <can.aks...@gmail.com> wrote:
>> Hi,
>> How can I change battery capacity on android kernel? (e.g : default capacity 
>> 1860mAh, wanna change it 2300mAh)
>> Thx.
>> -- 
>> -- 
>> unsubscribe: android-porting+unsubscr...@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-porting+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
> 
> 
> 
> -- 
> Regards,
> Deva
> www.bittoggler.in
> -- 
> -- 
> unsubscribe: android-porting+unsubscr...@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-porting+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

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

Reply via email to