Where do I edit file to change Battery Capacity? - LG V20 Questions & Answers

I have looked on Google and found a few things but none lead to edit the battery capacity. There is a capacity file but it is for percentage. I have a 4200 but always shows 3200 in apps. If I can change file maybe the phone will act as if I actually have an upgraded battery, or am I just thinking in left field?

Mysticblaze347 said:
I have looked on Google and found a few things but none lead to edit the battery capacity. There is a capacity file but it is for percentage. I have a 4200 but always shows 3200 in apps. If I can change file maybe the phone will act as if I actually have an upgraded battery, or am I just thinking in left field?
Click to expand...
Click to collapse
Accubattery will read the correct size and give you all kinds of neat statistics
Sent from my ONEPLUS A6010 using Tapatalk

clsA said:
Accubattery will read the correct size and give you all kinds of neat statistics
Sent from my ONEPLUS A6010 using Tapatalk
Click to expand...
Click to collapse
That dont at first either, I have to set it to be 4200, at first it reads 3200. I have a Shemmz btw that are known as good aftermarkets.

Mysticblaze347 said:
That dont at first either, I have to set it to be 4200, at first it reads 3200. I have a Shemmz btw that are known as good aftermarkets.
Click to expand...
Click to collapse
yeah I have the Perfine V20 Battery BL-44E1F 4100mAh Replacement it's really nice

clsA said:
yeah I have the Perfine V20 Battery BL-44E1F 4100mAh Replacement it's really nice
Click to expand...
Click to collapse
I need or would like to set the reading so that system/ all apps can read as the 4200 or what ever is needed to be entered for value from batteries. A file edit. Any app that I have seen reads from system and not the battery itself by default.

Mysticblaze347 said:
I need or would like to set the reading so that system/ all apps can read as the 4200 or what ever is needed to be entered for value from batteries. A file edit. Any app that I have seen reads from system and not the battery itself by default.
Click to expand...
Click to collapse
I'll see what I can find
Sent from my ONEPLUS A6010 using Tapatalk

clsA said:
I'll see what I can find
Sent from my ONEPLUS A6010 using Tapatalk
Click to expand...
Click to collapse
Well I found it, /Sys/Class/lge_power/lge_batt_id/batt_capacity.
Now if only able to get the currently being used battery's profile somehow

Related

Li-po or Li-on

I thought our nexus 4's came with Li-po battery. By pressing *#*#4636#*#* then going to battery information I found this.
Pic
as you can see on the battery technology it says its a li-on. My question is does any of yours say's this aswell? or is it just me
Thanks in advance
Mine says li-ion as well, cpu-z also says li-ion.
Sent from my Nexus 4
Do you have any ideas why that is? I find that really confusing xD
fluffboy said:
Do you have any ideas why that is? I find that really confusing xD
Click to expand...
Click to collapse
I think that this is code mistake, because programs take that info from device files where it's stored (idk how program can watch it in other way). Our battery is Li-PO, because that said in specs. Google can't lie to users.
Li-ion polymer
Sent from my Nexus 4 using xda app-developers app
fluffboy said:
I thought our nexus 4's came with Li-po battery. By pressing *#*#4636#*#* then going to battery information I found this.
Pic
as you can see on the battery technology it says its a li-on. My question is does any of yours say's this aswell? or is it just me
Thanks in advance
Click to expand...
Click to collapse
It's written on the battery that it's Li-ion. Boom .
fluffboy said:
I thought our nexus 4's came with Li-po battery. By pressing *#*#4636#*#* then going to battery information I found this.
Pic
as you can see on the battery technology it says its a li-on. My question is does any of yours say's this aswell? or is it just me
Thanks in advance
Click to expand...
Click to collapse
Nexus 4 utilizes li-ion polodium. It's mean that li-po battery
More information Li-ion vs Li-Po
http://support.radioshack.com/support_tutorials/batteries/bt-liion-main.htm

How to change your battery capacity

(Must be rooted)
Use Root Explorer or Equivalent.
(Can adb or command pull/ push with line if your know how inside twrp or on pc)
DIRECTORY: /etc/floating_feature.xml
Open it and Scroll or search until you see the capacity String value ...
Change it to the MAH of your desired battery.
Disclaimer: Any edits being made to batteries, charge speeds, % values, etc , can cause fires,
Do these at your own risk.
What is the purpose of this?
Sent from my SM-G935F using Tapatalk
Theoretically, to make use of a larger capacity battery or else it'll show the same stock capacity regardless of it's real capacity.
Now I don't know how it is For S7/Edge or Samsung devices but I previously owned several HTC devices. The last I had was One S and it could accomodate the battery from One XL (same size but bigger capacity). Many have tried and replaced it but even the new capacity was shown correctly, phone wasn't using it at full. After researches it came out that, for effectively using a bigger capacity battery it was needed a new kernel compiled to make use of the new battery capacity.
My point is that, you might need that as well here and I really doubt that anyone can compile from source a kernel for Exynos that can contain such changes as I know that sources are proprietary not open. You might fit a bigger capacity battery but it could be that you won't benefit from it's increased size
Sent from nowhere over the air...
I agree
Rapier said:
Theoretically, to make use of a larger capacity battery or else it'll show the same stock capacity regardless of it's real capacity.
Now I don't know how it is For S7/Edge or Samsung devices but I previously owned several HTC devices. The last I had was One S and it could accomodate the battery from One XL (same size but bigger capacity). Many have tried and replaced it but even the new capacity was shown correctly, phone wasn't using it at full. After researches it came out that, for effectively using a bigger capacity battery it was needed a new kernel compiled to make use of the new battery capacity.
My point is that, you might need that as well here and I really doubt that anyone can compile from source a kernel for Exynos that can contain such changes as I know that sources are proprietary not open. You might fit a bigger capacity battery but it could be that you won't benefit from it's increased size
Sent from nowhere over the air...
Click to expand...
Click to collapse
There are reference files in the kernel ...
They reference battery capacity...
They are based off of a capacity % value
Basically an of/if command ... so in theory...
(Update: the theory was correct)
And a framework.res edit did suffice.
The file inside of framework-res res/xml/power_profile.xml
referenced a 3600mah battery ...
And the purpose of this is of course...
an aftermarket , fully synced , and properly programmed battery @ larger capacity 4200mah
To track all stats natively in any android rom
I use my device pretty heavy with it....
Background youtube, pandora, games, etc...
Stock S7 edge kernel/boot.img , modified build.prop (TeKHd Rom)
Also calibrated battery after changing the capacity values
battery life report...
Yamaha169 said:
I use my device pretty heavy with this 4200 mah...
Background youtube, pandora, games, etc...
Stock S7 edge kernel/boot.img , modified build.prop (TeKHd Rom)
Also calibrated battery after changing the capacity values
But heres a battery life report...
Click to expand...
Click to collapse
omg how the hell did you manage to change for a bigger battery? can you explain? how and which one you bought? any links?
Vivacity said:
how and which one you bought?
Click to expand...
Click to collapse
http://m.ebay.com/itm/4200mAh-High-Capacity-Gold-Replacement-Battery-for-Samsung-Galaxy-S7-Edge-NEW-/322221470195?hash=item4b05e571f3:g:jxsAAOSw9NdXqR3o
Yamaha169 said:
The guide to do so is explain in the images/ guide earlier in these pages...
The link to buy a battery like mine is
http://m.ebay.com/itm/4200mAh-High-...470195?hash=item4b05e571f3:g:jxsAAOSw9NdXqR3o
You will also need tools to do so... (watch youtube for a guide on the hardware change)
Once you have your battery installed... you need to be rooted to make the edits... there are two references you need to change (in images i posted)
After the edits... run your battery 99% dead... do a calibration (apk on app store can do this)
Then let it die.. charge it to 100% while the device is off
Click to expand...
Click to collapse
But can you really trust a 4200mah for 15 dollars?
Trust
anaya1213 said:
But can you really trust a 4200mah for 15 dollars?
Click to expand...
Click to collapse
This is my second time purchasing the same aftermarket battery... first time I installed it into a G928A (s6 edge plus)
Now ive installed it in this device... ive gone several months without seeing charge/discharge loss...
But heres the next question... say... you go through 2 batteries a year... 15$ each....
Would that not be worth the extra phone on time anyways?
Yamaha169 said:
This is my second time purchasing the same aftermarket battery... first time I installed it into a G928A (s6 edge plus)
Now ive installed it in this device... ive gone several months without seeing charge/discharge loss...
But heres the next question... say... you go through 2 batteries a year... 15$ each....
Would that not be worth the extra phone on time anyways?
Click to expand...
Click to collapse
Fair enough, but how do you really know it's 4200mah instead of the regular 3600mah?
After the Note 7 fiasco, people tend to be more careful about aftermarket batteries.
My question regarding this modification ist: Is the phone still waterproof after opening the case?
i guess no...
Eezay said:
After the Note 7 fiasco, people tend to be more careful about aftermarket batteries.
My question regarding this modification ist: Is the phone still waterproof after opening the case?
i guess no...
Click to expand...
Click to collapse
I would guess no also, as the glue sealing everything together is disturbed
Eezay said:
After the Note 7 fiasco, people tend to be more careful about aftermarket batteries.
My question regarding this modification ist: Is the phone still waterproof after opening the case?
i guess no...
Click to expand...
Click to collapse
Any battery lithium... copper core... can overheat and cause what happened to the 7 line...
And this device claims to be water "resistant" ... but people were testing new units and ruining cameras... so...
I went with a ghostek atomic 2.0 case ...
Agreed... no matter how good you cut the adhesive
ingram10 said:
I would guess no also, as the glue sealing everything together is disturbed
Click to expand...
Click to collapse
They do make the adheasive with backglass replacement... but im content with my device ...
Longer batter... no overheating issues (2nd phone using them)
After doing the edits and the battery swap with the battery sync... big gains..
I Would Do this Experiment Again
Update...
Batterylife update...
Yamaha169 said:
The guide to do so is explain in the images/ guide earlier in these pages...
The link to buy a battery like mine is
http://m.ebay.com/itm/4200mAh-High-...470195?hash=item4b05e571f3:g:jxsAAOSw9NdXqR3o
You will also need tools to do so... (watch youtube for a guide on the hardware change)
Once you have your battery installed... you need to be rooted to make the edits... there are two references you need to change (in images i posted)
After the edits... run your battery 99% dead... do a calibration (apk on app store can do this)
Then let it die.. charge it to 100% while the device is off
Click to expand...
Click to collapse
Did you even found bigger aftermarket batteries? And did you ever tried to test the battery and his capacity before implementing them? I often have the feeling they are faking the written numbers on it
twinko said:
Did you even found bigger aftermarket batteries? And did you ever tried to test the battery and his capacity before implementing them? I often have the feeling they are faking their values.
Click to expand...
Click to collapse
you can break out ohms law and calculate power
( find something that runs off the same voltage , and run the tests yourself for discharge rate @ hours )
Yamaha169 said:
Well, to me... thats arguing a moot point...
Thats like asking me how i know im getting a gallon of gas at the pump.
But... the evidence is in the calculation of the user ... because there are FAR too many variables ...
There are applications that track power loss by MAH (mili-amp hour) if you use over the stock MAH rating... it would have a larger storage capacity.
Or you can break out ohms law and calculate power , disect this battery and beat your head against a post ..
Click to expand...
Click to collapse
im sorry my english isn't that good but i think the capacity of this battery is not related to the user nor there are many variables.
Probably i didnt used the right words but what i was asking for is for example:
Connect the battery to a constant current load and measure the time it takes to discharge the battery to a certain voltage.
Capacity in Ah = Current in Amperes * Time in hours​
that would give a good overview of the real capacity without using a fishy app or harassing a post
twinko said:
Click to expand...
Click to collapse
Yamaha169 said:
If it comes down to having to buy another one... then yea.. ill run that test ..
Click to expand...
Click to collapse
sounds great and lets see how long your battery needs to be replaced. really interested to do the same.

Battery capacity...

So I found out that my battery capacity is only 2800mah, and not the full 3200mah! Is anybody else in the same boat?
rayraycarter4 said:
So I found out that my battery capacity is only 2800mah, and not the full 3200mah! Is anybody else in the same boat?
Click to expand...
Click to collapse
The statistic listed in most apps is simply what's reported by the hardware profile rather than the actual capacity of the exact cell in the device. What app is that exactly? I don't recognise it.
Aaren11 said:
The statistic listed in most apps is simply what's reported by the hardware profile rather than the actual capacity of the exact cell in the device. What app is that exactly? I don't recognise it.
Click to expand...
Click to collapse
Battery info
I am also in the same boat, this is what is reported by Kernel Aduitor, are you in LineageOS like myself or are you using the stock ROM?
EDIT: We're using the G5 power_profile.xml but should be using the V20, if we get the right fixes in next LineageOS or AOSP builds it will display properly the 3200 mAh capacity:
See https://forum.xda-developers.com/showpost.php?p=74781636&postcount=384

kernel keeping phone awake?

Recently I started experiencing bad battery drain (13% over night) and I noticed my kernel has been keeping my phone awake. I did a factory reset without restoring a back up and still the same thing.
Can anyone take a look at my screen shot and help me figure out a solution?
innocentone1 said:
Recently I started experiencing bad battery drain (13% over night) and I noticed my kernel has been keeping my phone awake. I did a factory reset without restoring a back up and still the same thing.
Can anyone take a look at my screen shot and help me figure out a solution?
Click to expand...
Click to collapse
Try using CPU spy and check if the drain is due to the phone not going deep sleep ?
majorkid said:
Try using CPU spy and check if the drain is due to the phone not going deep sleep ?
Click to expand...
Click to collapse
It says 99% deepsleep when I ran it. Also I got a notification that this app was made for older android systems. I am assuming it still works correctly?
innocentone1 said:
It says 99% deepsleep when I ran it. Also I got a notification that this app was made for older android systems. I am assuming it still works correctly?
Click to expand...
Click to collapse
Use cpu spy reloaded
innocentone1 said:
It says 99% deepsleep when I ran it. Also I got a notification that this app was made for older android systems. I am assuming it still works correctly?
Click to expand...
Click to collapse
Yeah it works , try updating to latest firmware as they have improved battery drain , you could turn off AOD , put some apps to sleep in the settings that you don't use and optimize battery usage for them. i was told Mobile Data consumes alot of battery , I'm getting 2% drain for the night unless I leave some downloads.
majorkid said:
Yeah it works , try updating to latest firmware as they have improved battery drain , you could turn off AOD , put some apps to sleep in the settings that you don't use and optimize battery usage for them. i was told Mobile Data consumes alot of battery , I'm getting 2% drain for the night unless I leave some downloads.
Click to expand...
Click to collapse
I am on the latest firmware and I have done everything in the original battery optimization guide by corvo who is now gone. I also have tweaked all my settings for max battery and turned off mobile data. Forgot to mention these issues are with all battery saving tweaks in mind.
mtm1401 said:
Use cpu spy reloaded
Click to expand...
Click to collapse
Hmmm still says my deepsleep is fine I haven't really been using my phone. I did notice that my CPU does not idle at 300 while screen is on. I am assuming this is normal.
Uh the screenshots bugged I'll reupload.
Reuploads
innocentone1 said:
Reuploads
Click to expand...
Click to collapse
Strange, guessing you haven't just left the phone untouched for 18 hours!
mtm1401 said:
Strange, guessing you haven't just left the phone untouched for 18 hours!
Click to expand...
Click to collapse
I have not. I have literally no idea why the phone is acting this way. I also don't know why my battery stats are not working on the app.
Also idk if this information will help my phone is a snap dragon 855 US variant.
I might try another factory reset. Could you give me a safe to disable list? Perhaps I could try just disabling little pieces at a time and see what happens. Maybe I uninstalled an important service or something.
For example I completely removed wellbeing from my device. Idk if it is important etc or had a role in certain services.
innocentone1 said:
I have not. I have literally no idea why the phone is acting this way. I also don't know why my battery stats are not working on the app.
Also idk if this information will help my phone is a snap dragon 855 US variant.
I might try another factory reset. Could you give me a safe to disable list? Perhaps I could try just disabling little pieces at a time and see what happens. Maybe I uninstalled an important service or something.
For example I completely removed wellbeing from my device. Idk if it is important etc or had a role in certain services.
Click to expand...
Click to collapse
Sure, I have the exynos so that might explain why cpu spy works for me.
Google battery historian (there is a good reddit sub that explains how to use it) which might help identify some issues
I've attached my disabled list, just be aware that I have a 3rd party tracking app so I wouldn't recommend removing the find my device unless you have an alternative
innocentone1 said:
I have not. I have literally no idea why the phone is acting this way. I also don't know why my battery stats are not working on the app.
Also idk if this information will help my phone is a snap dragon 855 US variant.
I might try another factory reset. Could you give me a safe to disable list? Perhaps I could try just disabling little pieces at a time and see what happens. Maybe I uninstalled an important service or something.
For example I completely removed wellbeing from my device. Idk if it is important etc or had a role in certain services.
Click to expand...
Click to collapse
I've been running test exclusively using mobile network here is my current screen shots .. last charge was at 84%. ref ipa client.View attachment 4766546View attachment 4766547
Sent from my SM-G975U using Tapatalk
innocentone1 said:
I have not. I have literally no idea why the phone is acting this way. I also don't know why my battery stats are not working on the app.
Also idk if this information will help my phone is a snap dragon 855 US variant.
I might try another factory reset. Could you give me a safe to disable list? Perhaps I could try just disabling little pieces at a time and see what happens. Maybe I uninstalled an important service or something.
For example I completely removed wellbeing from my device. Idk if it is important etc or had a role in certain services.
Click to expand...
Click to collapse
Just so you know, CPU Spy and CPU Spy Reloaded don't work correctly on Snapdragi. S10's.
Happened to me using only mobile data also. Gsam showed a higher than average held awake time as well. This current battery cycle has been my worst stat in regards to sot.View attachment 4767231View attachment 4767233
Sent from my SM-G975U using Tapatalk
Limeybastard said:
Happened to me using only mobile data also. Gsam showed a higher than average held awake time as well. This current battery cycle has been my worst stat in regards to sot.View attachment 4767231View attachment 4767233
Sent from my SM-G975U using Tapatalk
Click to expand...
Click to collapse
Hi mate.... also use GSam pro but when i want to grant it with adb shell it freezes. What command did you use for adb shell ? I also sent error report to GSam but no one answers.... sorry for OT...
SM-G975F Exynos
Limeybastard said:
Happened to me using only mobile data also. Gsam showed a higher than average held awake time as well. This current battery cycle has been my worst stat in regards to sot.
Click to expand...
Click to collapse
I'm jealous your SOT shows a max of 7hr 30+ min mine can only get to 5 without dying.
innocentone1 said:
I'm jealous your SOT shows a max of 7hr 30+ min mine can only get to 5 without dying.
Click to expand...
Click to collapse
I got over 10 hours once , the only time I charged to 100% and used to 15%. Second day of purchase. I normally do 80-40 or there abouts.
But we're her to discuss saving battery and wondering why the LTE isn't as efficient perhaps as would it should be.
Sent from my SM-G975U using Tapatalk
---------- Post added at 02:03 PM ---------- Previous post was at 02:02 PM ----------
Xode said:
Hi mate.... also use GSam pro but when i want to grant it with adb shell it freezes. What command did you use for adb shell ? I also sent error report to GSam but no one answers.... sorry for OT...
SM-G975F Exynos
Click to expand...
Click to collapse
I used the command that the app tells me to use. Does gsam work on exynos?
I emailed them two weeks ago, never got a response back.
Sent from my SM-G975U using Tapatalk
Limeybastard said:
[/COLOR]I used the command that the app tells me to use. Does gsam work on exynos?
I emailed them two weeks ago, never got a response back.
Sent from my SM-G975U using Tapatalk
Click to expand...
Click to collapse
So the same command except i had to add an additional "-d" to grant ... looks like exynos has issue with GSam .... thx btw [emoji106]
SM-G975F Exynos

True full battery mAh

Has anybody tried tools like Accubattery etc to determine the true mAh of the battery?
I get around 3100 instead of 3700 and it has been there almost since I bought the device
Yes, mine shows the same. It has shown around 93% since I got my phone. There's another post with several people claiming the same.
Showme1 said:
Yes, mine shows the same. It has shown around 93% since I got my phone. There's another post with several people claiming the same.
Click to expand...
Click to collapse
Well mine is 83%
Where is that thread?
Accubattery does not work for showing an accurate battery % on the OnePlus phones.
Well known issue that has never been addressed, so don't use it for that.
You could manually set the battery size to be the same as it is showing to monitor wear, but that's about it.
400ixl said:
Accubattery does not work for showing an accurate battery % on the OnePlus phones.
Well known issue that has never been addressed, so don't use it for that.
You could manually set the battery size to be the same as it is showing to monitor wear, but that's about it.
Click to expand...
Click to collapse
Good to know. What else could I use to diagnose battery?
darfri said:
Good to know. What else could I use to diagnose battery?
Click to expand...
Click to collapse
Answer - 3c battery

Categories

Resources