Battery design size

Post your questions and help other users.

Moderator: Martin

Post Reply
Wibbly
Posts: 418
Joined: 17 Mar 2014 09:02

Battery design size

Post by Wibbly » 28 Jan 2020 11:50

Anyone know how to obain the battery design/specification size e.g. "3700"mAH in a Pixel 3aXL, for use in a flow?

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Battery design size

Post by Desmanto » 28 Jan 2020 18:50

Maybe you can get it using some command. But it seems to be different in each ROM. I am still trying to find the value. I used to get the value in my old phone, but now can't find it in my current phone. And seems to require root. So maybe it is better to input the battery capacity manually.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

Wibbly
Posts: 418
Joined: 17 Mar 2014 09:02

Re: Battery design size

Post by Wibbly » 29 Jan 2020 11:17

Ok, thanks

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Battery design size

Post by Desmanto » 30 Jan 2020 18:00

Ooops, It seems I answer the same too in your other thread. But maybe someone find this using different keyword, so I just repost my answer.

I found that you can use adb or execute root command (if you have root).

Code: Select all

cat /sys/class/power_supply/battery/charge_full_design
At my RN5, it will get me 4000, as my phone has 4000 mAh battery.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

Post Reply