Extended "screen-on" time by battery gauge tricks - Huawei MediaPad, T-Mobile SpringBoard

Sorry for long story but might be interesting for developers.
Some time ago I have flashed OSIMood ROM to my Mediapad. After flashing I had brand new "Battery Gauge" showing percentage values (circular icon), but after some time it was.... lost(!!!)? I do not know what happened but it just has disappeared. At the same time device stopped displaying warning about "automatic shutdown" because of the low battery level.
Then.... I started to use alternative battery monitors (like Battery Monitor Widget) and it read very strange battery levels from system. According to what it read battery went down to 0% in 1-2hours of "screen-on" and it stayed at 0% even for 5 hours of "screen-on" time until device switched off because battery was empty.
The Battery Monitor Widget showed clearly that MEDIAPAD switches off without warring when the battery is empty (usually about 3250mV, lowest level reached was 3100mV). Switch off at ~3200mV is not devastating to battery as I have monitored many recharge cycles and battery was able to recharge back to 4199-4200mV every time.
The battery condition is fine - when it was recharged overnight I could EASILY reach over 6 hours of "screen on" watching online video (with WiFi on). I think this is perfect.
I have tried to recalibrate battery but it did not help. The battery monitors have always read level 0% and stays at 0% much too early.
I was NOT complaining about missing "automatic shutdown" - in my opinion this was triggered much too fast (when there was still lot of battery left). I could use my Mediapad much much longer, In my opinion this was huge ADVANTAGE(!!!).
I have tried to investigate and found somewhere that FuelGauge interprets 3900mV as 100% and 3400mv as 0% while Mediapad tab can still work intil it drops down to 3200mV(!!!). Moreover I have noticed that pad gets quickly down to about 3500mV~3450mV and this is a time when "automatic shutdown module" triggers "force close". But.... this feature was gone/borken in OSI MOD allowing tab to work for nex few hours (!!!) great
Now..... I wanted to get "overcloked kernel" and "touchsceen filtereing" and flashed CleanICE ROM and.... my tab gets dow to 0%in 2 hours + I suffer from "automatic shutdown". I miss the OSI MOD now and miss 6 hours of screen-on working.
THIS IS A MESSAGE TO ALL DEVELOPERS.
1. Could you please reveal how to REMOVE/DISABLE standard "automatic shutdown" feature? It will allow our's mediapads to run for 6 hours instead 2 or 3 hours.
2. Could you please fadjust the fuel gauge, by setting up the 100% for 4000mV and 0% for 3200mv. I think this will give much better battery level estimations.
Who know how to do this? Implementing this this would be great contribution for all Mediapad user community.

maybe yor battery is worn...before I replaced battery, it jumped from 15% to 0% almost immediately, now with new one I can go up to 7 hours of screen-on+wifi (CM10 rom)...it takes about 40 minutes of using to drop from 2% to 1%

441Excelsior said:
maybe yor battery is worn...before I replaced battery, it jumped from 15% to 0% almost immediately, now with new one I can go up to 7 hours of screen-on+wifi (CM10 rom)...it takes about 40 minutes of using to drop from 2% to 1%
Click to expand...
Click to collapse
Where did you buy the new battery from?

441Excelsior said:
maybe yor battery is worn...before I replaced battery, it jumped from 15% to 0% almost immediately, now with new one I can go up to 7 hours of screen-on+wifi (CM10 rom)...it takes about 40 minutes of using to drop from 2% to 1%
Click to expand...
Click to collapse
can you tell me step-by-step how to open back cover? thankyou

I have a similiar problem in ALL custom rom i tried. My mediapad is hooked up in my car dashboard, so
ignition on -> charging (and normal use)
ignition off -> standby and airplane mode
many mornings instead of waking up automagically, I found mediapad shutted down. When I turn it on it shows suddently something like 70% charge! This issue *doesnt* appear in huawei rom, so it seems to be a custom rom/cyanogen issue
feel free to ask me info and please provide procedures for log and debug, I whould be very happy to solve this issue

danisukses said:
can you tell me step-by-step how to open back cover? thankyou
Click to expand...
Click to collapse
you must remove two black covers then unscrew 6 screws (3 under each cover), then remove speakers cover and then carefully remove screen (use knife or something thin but be very careful cause you can damage wires or PCB with knife...it is not so hard to open it but you must be extremely careful

441Excelsior said:
you must remove two black covers then unscrew 6 screws (3 under each cover), then remove speakers cover and then carefully remove screen (use knife or something thin but be very careful cause you can damage wires or PCB with knife...it is not so hard to open it but you must be extremely careful
Click to expand...
Click to collapse
Excuse me.
Where did you buy the new battery from?

I bought it from one man who had 2 months old mediapad lite with broken screen so he was selling its parts

thankyou brother

MediaPad is only using ~40% of its battery power
I too observe the same behavior. It's quite obvious that the MediaPad is only using ~40% of its battery power.
The MediaPad would scream battery low and shut off (after around 3 hours of use) at around 3.75v, but there is still a lot of juice left in the battery! I can confirm this by continuing reboot into recovery mode (ie, screen on full brightness, no battery management), while the MP body becomes quite warm due to high power draw, it lasts another 3 hours before the battery protection kicks in and shuts off the power (~3.2V).
I found that if I plug in again and turn on the Mediapad, the battery gauge would stubbornly stay at 0% for around 2 hours (even though the battery is sucking power @ 1.3a and recovering in voltage) and then starts to move upwards (at around 3.95v). After another 3 hours, the battery is fully charged.
I can replicate this behavior in the official rom or any other roms that I have tried. So, it's seems to me that there're something REALLY WRONG with the MP's battery gauge and I would repeat eses1234's request:
THIS IS A MESSAGE TO ALL DEVELOPERS.
1. Could you please reveal how to REMOVE/DISABLE standard "automatic shutdown" feature? It will allow our's mediapads to run for 6 hours instead 2 or 3 hours.
2. Could you please adjust the fuel gauge, by setting up the 100% for 4000mV and 0% for 3200mv. I think this will give much better battery level estimations.
Who know how to do this? Implementing this this would be great contribution for all Mediapad user community.

buddylu said:
I too observe the same behavior. It's quite obvious that the MediaPad is only using ~40% of its battery power.
The MediaPad would scream battery low and shut off (after around 3 hours of use) at around 3.75v, but there is still a lot of juice left in the battery! I can confirm this by continuing reboot into recovery mode (ie, screen on full brightness, no battery management), while the MP body becomes quite warm due to high power draw, it lasts another 3 hours before the battery protection kicks in and shuts off the power (~3.2V).
I found that if I plug in again and turn on the Mediapad, the battery gauge would stubbornly stay at 0% for around 2 hours (even though the battery is sucking power @ 1.3a and recovering in voltage) and then starts to move upwards (at around 3.95v). After another 3 hours, the battery is fully charged.
I can replicate this behavior in the official rom or any other roms that I have tried. So, it's seems to me that there're something REALLY WRONG with the MP's battery gauge and I would repeat eses1234's request:
THIS IS A MESSAGE TO ALL DEVELOPERS.
1. Could you please reveal how to REMOVE/DISABLE standard "automatic shutdown" feature? It will allow our's mediapads to run for 6 hours instead 2 or 3 hours.
2. Could you please adjust the fuel gauge, by setting up the 100% for 4000mV and 0% for 3200mv. I think this will give much better battery level estimations.
Who know how to do this? Implementing this this would be great contribution for all Mediapad user community.
Click to expand...
Click to collapse
Hi, I'm not a developer but I think this can be a real HUGE and fantastic improvement for out MP. Googling around I've found this (maybe can be useful):
in BatteryService.java ,when the battery lvl is too low (0%, lower than 3.4v), the service will call shutdownIfNoPower to shutdown system. The complete file path is services/java/com/android/server/BatteryService.java in android_frameworks_base.

Thats really some interesting facts.
I did some googling an came to this point:
I downloaded the latest rom from after_silence and extracted it to my hard disk.
Then i took the "/system/framework/services.jar" and disassembled it with the apktool.
After that i digged into the folders and found the BatteryService.smali in "com\android\server".
Im not a developer as well so im not able to go any further right now, but as far as i can see it should be possible to modify the BatterService, compile the services.jar and sign it again to push it back to the MediaPad.
Im stuck to the "shutdownIfNoPowerLocked" i think this is the variable which is forcing the shutdown.
Someone else with some more information?

I did some more experiments about the battery problem and found the following facts. I am not a developer myself, but I'd really be grateful if someone can at least disable the shutdownIfNoPower mechanism.
buddylu said:
At first when I found this problem, I thought that’s my battery dying and its power output characteristics are dropping, so I changed to a NEW battery. While it's better than the old one, the MediaPad only see and use about half of its juice.
I even went to the extreme, put 2 NEW batteries in parallel circuit (in theory providing twice the juice, with the same voltage and better power output curve characteristics), and changed the battery protection circuit to a new one. Same thing - the MediaPad stubbornly only see and use ~ half of the juice. Plus the aforementioned observation of the cut off voltage @3.75V in Android system and @3.2V cut off in recovery, I come to the conclusion that MediaPad’s power gauge is faulty.
Click to expand...
Click to collapse

Any improvements in this subject???

no sorry, the only thing you can do to extend battery life is undervolting

441Excelsior said:
no sorry, the only thing you can do to extend battery life is undervolting
Click to expand...
Click to collapse
Thanks but undervolting does not help in the main problem that mediapad switches off at high battery voltages.

mine switch off at 3.55-3.6V

Hiero said:
Thats really some interesting facts.
I did some googling an came to this point:
I downloaded the latest rom from after_silence and extracted it to my hard disk.
Then i took the "/system/framework/services.jar" and disassembled it with the apktool.
After that i digged into the folders and found the BatteryService.smali in "com\android\server".
Im not a developer as well so im not able to go any further right now, but as far as i can see it should be possible to modify the BatterService, compile the services.jar and sign it again to push it back to the MediaPad.
Im stuck to the "shutdownIfNoPowerLocked" i think this is the variable which is forcing the shutdown.
Someone else with some more information?
Click to expand...
Click to collapse
I had a look into it from the kernel side. The battery percentage shown is read directly from a battery monitor chip (TI bq27510). The percentage is calculated by the amount of charge that the battery provided to the pad (coulometer). The sysfs driver lives in /sys/power, its source is in drivers/power/bq275x0_battery.c.
The function that reports the battery percentage is this one:
Code:
/*
* Return the battery Relative State-of-Charge
* Or < 0 if something fails.
*/
int bq275x0_battery_capacity(struct bq275x0_device_info *di)
{
int data=0;
// int data2 = 0;
if(BSP_FIRMWARE_DOWNLOAD_MODE == gBq275x0DownloadFirmwareFlag)
{
return 30;
}
#ifdef BQ275x0_DEBUG_FLAG
get_remaining_capacity(di);
get_full_charge_capacity(di);
#endif
data = bq275x0_i2c_read_word(di,BQ275x0_REG_SOC);
BQ275x0_DBG("read soc result = %d Hundred Percents\n",data);
return data;
}
If you want it to report something else, maybe based on the voltage, this function could easily be changed to something like:
Code:
/*
* Return the battery Relative State-of-Charge
* Or < 0 if something fails.
*/
int bq275x0_battery_capacity(struct bq275x0_device_info *di)
{
int data=0;
// int data2 = 0;
[B]int voltage = 0; // Voltage in mV[/B]
if(BSP_FIRMWARE_DOWNLOAD_MODE == gBq275x0DownloadFirmwareFlag)
{
return 30;
}
#ifdef BQ275x0_DEBUG_FLAG
get_remaining_capacity(di);
get_full_charge_capacity(di);
#endif
[B]voltage = bq275x0_battery_voltage(di);
data = some_cool_function_that_magically_converts_the_voltage_into_a_good_percentage_estimate(voltage)[/B]
BQ275x0_DBG("read soc result = %d Hundred Percents\n",data);
return data;
}
Although one should check first that this does not interfere with charging the battery correctly (I guess it won't).
I have no working toolchain ready to test this atm (quite busy...). If I find some time I will give it a shot and ask around who wants to play the guinea pig
mblaster

Hey mblaster,
that sounds really interesting!
So with this function we can reduce the shutdown voltage by manipulating the variable, right?

any news?
my pad keeps dropping its capacity by 20%+ in no time when its active/ in use
when in standby it works like it is supposed
any news would be much appreciated

Related

[Q] Battery charging quite slow

I got an replacement due to my phone beyond repair.
I'm running original stock firmware, of-course rooted. Since the replacement I'm trying to get my phone to full charge but it doesn't and also I notice that the charging is quite slow.
I installed "Battery Monitor Widget" to see how much power it is drawing and found that AC power draws only about 350+mA and sometimes it is as low as 8mA. (Some times it draws about 750+mA). I notice that the temperature also reaches somewhere about 45 to 48 degree.
Once it reaches about 90% or so, it starts to drain battery instead of charing it.
I find it quite abnormal. Anyone with this kind of problem and found an solution?
Thanks in advance for the replies and suggestions.
What I'd sudjest is updating your phone through seus or PC companion or if your an American at & t user update to a newer firmware through the flash tool (you can find I link to it through my signiture) or if you can't update try and use the repair option through seus or PC compainion.
Sent from my X10 using XDA Premium App
The Gingerbread Man said:
What I'd sudjest is updating your phone through seus or PC companion or if your an American at & t user update to a newer firmware through the flash tool (you can find I link to it through my signiture) or if you can't update try and use the repair option through seus or PC compainion.
Sent from my X10 using XDA Premium App
Click to expand...
Click to collapse
Thanks for your reply.
I did that yesterday. I repaired the firmware and reloaded all the application one by one from scratch. The only thing I restored is contacts so that I could eliminate all the other factors which can cause this issue.
My other suggestion would be to install xrecovery and wipe your battery stats I guess. You can find a link to xrecovery through the link in my sig
Sent from my X10 using XDA Premium App
The Gingerbread Man said:
My other suggestion would be to install xrecovery and wipe your battery stats I guess. You can find a link to xrecovery through the link in my sig
Sent from my X10 using XDA Premium App
Click to expand...
Click to collapse
Thanks once again for the reply.
I tired that too every time I try to charge the phone. Still it refuses to complete the charging.
Any other suggestions are welcome.
What about off line charging ie; turning the phone off and doing that way?
Sent from my X10 using XDA Premium App
The Gingerbread Man said:
My other suggestion would be to install xrecovery and wipe your battery stats I guess. You can find a link to xrecovery through the link in my sig
Sent from my X10 using XDA Premium App
Click to expand...
Click to collapse
+1 it helped me off this problem
Sent from my X10i using XDA App
The Gingerbread Man said:
What about off line charging ie; turning the phone off and doing that way?
Sent from my X10 using XDA Premium App
Click to expand...
Click to collapse
Good idea. I will try that as well as try to do a clean wipe and just try to charge with nothing loaded in. That will give a better idea where the problem is.
Thanks for the great tip, I will update you tomorrow.
Had that happen before, I had to remove sim card and let it drain out slowly for a week, then charge. Problem solved
I think I had similar problem, except that my processor went on full load when its almost fully charged causing it to drain the battery instead. Still lookin for answer to that, will wiping battery stats help?
I reset my phone to factory and did a re-flashing again using SEUS and I tried it charging immediately without loading any application (only loaded Battery Monitor Widget from Market to see the battery temperature and mA units drawn) and wow, it charged like a normal X10. So I guess it has something to do with whatever I loaded or modded it with.
I'm trying to find it out. Later tonight I will try to load all the application one-by-one and try again to charge to see whether I can isolate it.
During this process, I did takeout my SIM card for a period of 1 hour or so, so not sure whether that did the trick (If that's the case, thanks to gogogu)
In the meantime, I have a strong feeling it would be due to the flashtool and new recovery, but again there isn't any proof. I suspect this because this is the new thing I did compared to my old phone.
Any thoughts are welcome.
Monitor the CPU usage as well
zymphonyx said:
Monitor the CPU usage as well
Click to expand...
Click to collapse
I don't have issues with processor. It works at full throttle when it supposed to work and then goes back to normal.
Hrmmm alright, but if you ever had the draining issue while charging and the battery temp rises up again. Check the CPU usage just incase
After yesterday's event, seems like stable (I did face the same issue once). Not sure which cured it and currently monitoring...
EDIT: Back to square one. The issue started again and the battery refues to fully charge! I'm going mad
Finally given up, sent for service and came back after 5 days of repair.
Repair Notes: No problem found !!!
But today morning I tried to charge and it's the same issue . Makes me go mad. Really, I don't know what to do!
Please help me friends .......
I too have exactly the same problem with my x10i.....
tried everything like rooting, using stock & custom ROMs, etc... still problem persist ...
while charging , power goes from 900mA to 200mA or lower, & doesn't reach 100% full...
i use current widget from market to read the power values ....
please help me friends .... to resolve my problem ...
Thanks a lot...
Makzer.
nobody replying
hello mates...
please reply to my problem dear friends ..
looking forward ...
LiveSquare said:
I got an replacement due to my phone beyond repair.
I'm running original stock firmware, of-course rooted. Since the replacement I'm trying to get my phone to full charge but it doesn't and also I notice that the charging is quite slow.
I installed "Battery Monitor Widget" to see how much power it is drawing and found that AC power draws only about 350+mA and sometimes it is as low as 8mA. (Some times it draws about 750+mA). I notice that the temperature also reaches somewhere about 45 to 48 degree.
Once it reaches about 90% or so, it starts to drain battery instead of charing it.
I find it quite abnormal. Anyone with this kind of problem and found an solution?
Thanks in advance for the replies and suggestions.
Click to expand...
Click to collapse
What program do you use to check your battery temperature. I rememeber there was one that wass bettery draining. The same is also possible with battery level monitor
Sent from X10
Use this tool forum.xda-developers.com/showthread.php?t=1415600
Please read this. There is a lot of batt info on xda just search
http://forum.xda-developers.com/showthread.php?t=871051
I realize that much of this is common knowledge on XDA. Still, every day I see people post about how their phone "loses" 10% as soon as it comes off the charger. I also have friends who can't understand why their battery drains so quickly. Trying to explain this to people without hard numbers is often met with doubt, so I figured that I'd actually plot it out with real data.
So it's not a piece that is optimized for this audience, but I hope that you find it interesting.
--------------------------------------------------
Your Smartphone is Lying to You
(and it's not such a bad thing)
Climbing out of bed, about to start your day, you unplug your new smartphone from its wall charger and quickly check your email. You've left it plugged in overnight, and the battery gauge shows 100%. After a quick shower, you remember that you forgot to send your client a file last night. You pick up your phone again, but the battery gauge now reads 90%. A 10% drop in 10 minutes? The phone must be defective, right?
A common complaint about today's smartphones is their short battery life compared to older cell phones. Years ago, if you accidentally left your charger at home, your phone could still make it through a weeklong vacation with life to spare (I did it more than once). With the newest phones on the market, you might be lucky enough to make it through a weekend.
And why should we expect anything else? Phones used to have a very short list of features: make and receive phone calls. Today we use them for email, web surfing, GPS navigation, photos, video, games, and a host of other tasks. They used to sport tiny displays, while we now have giant touch screens with bright and vibrant colors. All of these features come at a cost: large energy requirements.
Interestingly enough, improvements in battery management technology have compounded the average user's perception of this problem. Older phones were rather inelegant in their charging behavior; usually filling the battery to capacity and then switching to a trickle current to maintain the highest charge possible. This offered the highest usage time in the short-term, but was damaging the battery over the course of ownership. As explained at Battery University, "The time at which the battery stays at [maximum charge] should be as short as possible. Prolonged high voltage promotes corrosion, especially at elevated temperatures."[1]
This is why many new phones will "lose" up to 10% within a few minutes of coming off the charger. The reality is that the battery was only at 100% capacity for a brief moment, after which the battery management system allowed it to slowly dip down to around 90%. Leaving the phone plugged in overnight does not make a difference: the phone only uses the wall current to maintain a partial charge state.
To monitor this, I installed CurrentWidget on my HTC ADR6300 (Droid Incredible), an app that can log how much electric current is being drawn from the battery or received from the charger. Setting it to record log entries every 10 seconds, I have collected a few days worth of data. While many variables are involved (phone hardware, ROM, kernel, etc) and no two devices will perform exactly the same, the trends that I will describe are becoming more common in new phones. This is not just isolated to a single platform or a single manufacturer.
Chart 1 shows system reported battery levels over the course of one night, with the phone plugged in to a charger. Notice that as the battery level approaches 100%, the charging current gradually decreases. After a full charge is reached, wall current is cut completely, with the phone switching back to the battery for all of its power. It isn't until about two hours later that you can see the phone starts receiving wall current again, and even then it is only in brief bursts.
The steep drop in reported battery seen past the 6.5 hour mark shows the phone being unplugged. While the current draw does increase at this point (since the phone is being used), it still cannot account for the reported 6% depletion in 3 minutes. It should also be obvious that maintaining a 100% charge state is impossible given the long spans in which the phone is only operating on battery power.
Using the data from CurrentWidget, however, it is quite easy to project the actual battery state. Starting with the assumption that the first battery percentage reading is accurate, each subsequent point is calculated based on mA draw and time. Chart 2 includes this projection.
Now we can see that the 6% drop after unplugging is simply the battery gauge catching up with reality.
The phone manufacturers essentially have three choices:
1. Use older charging styles which actually maintain a full battery, thereby decreasing its eventual life
2. Use new charging methods and have an accurate battery gauge
3. Use new charging methods and have the inaccurate battery gauge
Option one has clearly fallen out of favor as it prematurely wears devices. Option two, while being honest, would most likely be met with many complaints. After all, how many people want to see their phone draining down to 90% while it is still plugged in? Option three therefore offers an odd compromise. Maybe phone companies think that users will be less likely to worry about a quick drop off the charger than they will worry about a "defective" charger that doesn't keep their phone at 100% while plugged in.
Bump It. Or Should You?
One technique that has gained popularity in the user community is "bump charging." To bump charge a device, turn it off completely, and plug it into a charger. Wait until the indicator light shows a full charge (on the ADR6300, for example, the charging LED changes from amber to green) but do not yet turn the device back on. Instead, disconnect and immediately reconnect the power cord. The device will now accept more charge before saying it is full. This disconnect/reconnect process can be repeated multiple times, each time squeezing just a little bit more into the battery. Does it work?
The following chart plots battery depletion after the device has received a hefty bump charge (6 cycles) and then turned on to use battery power. Note that the system does not show the battery dropping from 100% until well over an hour of unplugged use, at which point it starts to steadily decline. Again, however, it should be obvious that the battery gauge is not syncing up with reality. How could the rate of depletion be increasing over the first 5 hours while the rate of current draw is relatively steady? And why does the projected battery line separate from the reported levels, but then exactly mirror the later rises and falls?
The answer, of course, is that bump charging definitely works. Rather than anchoring our projected values to the first data point of 100%, what happens if we anchor against a later point in the plot?
Aligning the data suggests that a heavy bump charge increases initial capacity by approximately 15%. Note that the only other time that the lines separate in this graph was once again when the phone was put on the charger and topped up to 100%. Just as with the first set of graphs, the phone kept reporting 100% until it was unplugged, dropped rapidly, and again caught up with our projections.
So what does it all mean?
If you absolutely need the highest capacity on a device like this, you will need to bump charge. There are currently people experimenting with "fixes" for this, but I have yet to see one that works. Be warned, however, that repeated bump charging will wear your battery faster and begin to reduce its capacity. If you are a "power user" who will buy a new battery a few months from now anyway, this presumably isn't a concern. If you are an average consumer who uses a device for a few years, I would recommend that you stay away from bump charging. The bottom line is that you don't really "need" to do it unless you are actually depleting your battery to 0% on a regular basis.
If you are someone who can top off your phone on a regular basis, do it. Plug it in when you're at home. Plug it in when you're at your desk. As explained by Battery University, "Several partial discharges with frequent recharges are better for lithium-ion than one deep one. Recharging a partially charged lithium-ion does not cause harm because there is no memory."[2]
Beyond that, the best advice I can offer is to stop paying such close attention to your battery gauge and to just use your phone. Charge it whenever you can, and then stop obsessing over the exact numbers. If you really need more usage time, buy an extended-capacity battery and use it normally.
From my XPERIA X10S v8.2 on JaBKerneL @ 1.15ghz

ZeroLemon Fuel Gauge Fix Samsung Galaxy Note 4 [BETA]

First Beta Release on Lollipop BioShock
Alright guys, I have shaped this mod up to the best of my abilities and I present to you the Bravo version of it. I will get other kernel versions of this mod out but in the mean time I am sticking with the Original work space one based off of the Lollipop BioShock 3.10.40. I know this is the older version, but I will mass update ALL the kernels really soon. Basically everything (even the app) are enclosed into 1 ZIP file so all you have to do is flash the Kernel and you are ready to go. A couple of things I would like to get out there:
1. You should have a Fully charged ZL Battery. I wouldn't say before flashing this as you can re-calibrate the app, but I would recommend that you do so to avoid any confusion.
2. When you charge the battery with this mod, yes the percentage does charge fast and it will most likely show 100% BEFORE the battery reaches 100%. There is a issue with the current/mA flow readings IN the app and that will be fixed in the near future. Please understand that TRUE 100% is when the phone says "Fully Charged 100%, Unplug Charger" not when the Fuel gauge (next to the clock) says 100%.
3. Some people ask "Will the app Accurately calculate the battery to avoid shutting down at lets say 15% or still running 1% for days like normal"? And the answer to that is most likely Yes, and Possibly no. I say yes to the first part because you can put in the different drain values of each component in the Note 4 so that the app can detect the draining and calculate accordingly. Now, I will warn you that I have never used this mod to do a full complete drain. So I will say I wouldn't recommend letting the battery go all the way down to 15% (just as a safety net if you plan on going out, etc) in-case the battery does hit 3.4 volts which is the Note 4's 0% Shutdown target. And the 1% mod is almost unlikely.
4. Finally, I have received your messages and Emotion Kernel seems to be the popular Kernel at this time (I will be using it in the coming days also) so I will get to that next once I get the source code loaded. (KitKat users, you are not forgotten) I will also be posting the Kernel files so that Kernel devs can make different variants once I hear from you guys on how this mod is working. To me, I think its great. From the way it was before I can say its a Improvement from the drain calculation side. The charging side needs work, but hey, you hardly have to charge the dang thing anyways lol.
Now to the Installation
Of course, I would recommend that you do a backup of course and that you have a backup kernel with you. Basically, if you can use this kernel http://forum.xda-developers.com/note...-2014-t2962744 It should work.
Once you have flashed the file below "BioShock_N910T_TW_LP_Extended_Battery_Mod_OFFICIA L_BRAVO.zip", you should also wipe delvik and cache just to make sure everything goes smoothly. If the mod was successfully installed, your battery level should read "101%". It will read 101% every time you reboot just to keep things clean and then go back to the App's fuel gauge level 1 minute after boot.
If it shows 101%, go into your Apps and you should see a App called "Fuel Gauge Extended..." Open that app up and wait about 3-5 seconds for everything to populate (Done to keep battery usage down). Make sure to check Start on Boot if you want the service to start with the phone (which I think EVERYONE should do) and then tap start monitor. You might get a SuperSU permission screen which you want to grant permissions to. Once you see the Status saying "Running" go down to the debug area to the "Patch Status" string and it should report "ok/[success]]" and your real battery gauge should read whatever the Software Status says.
This app also doesn't have the on screen dedicated 3-dot menu buttons so you have to go old fashioned and how down the left menu soft-key for a second until a menu pops up at the bottom which shoes Start Full Charge, Set full battery, and configuration. This is where you can calibrate your battery so that once you fully charged your battery, you go into the app and select "Set full battery" to set the app and battery capacity to 100%. Please note that this will take anywhere from 30 seconds to 1 minute to update the battery meter globally. You don't want to press either one of these when you already have calibrated the battery before and you are at half a charge as you will lose your capacity remaining level and accuracy until you fully charge again.
Under configuration, you can make the app calibrate to 100% every time your phone displays "Fully charged, disconnect charger". You can also disable the notification under Notification Icon.
Hardware current is where you can change the different consumption values of each component. I wouldn't mess around here too much as you could create a imbalance within the app calculations.
And basically that's pretty much it. IF and SHOULD you have any problems, just reply here or shoot me a PM and I will help you to the best of my abilities.
Thank you guys for your patience and I hope you enjoy this beta mod.
About the values that you input, this would lead to inconsistencies wouldn't it? Like how would we be able to know the exact values? Is it possible to use the values in the Fuel Gage chip?
e.g. It still says there is charge in the battery, but there is none, and the phone just switches off in the middle of use?
jayden485 said:
About the values that you input, this would lead to inconsistencies wouldn't it? Like how would we be able to know the exact values? Is it possible to use the values in the Fuel Gage chip?
e.g. It still says there is charge in the battery, but there is none, and the phone just switches off in the middle of use?
Click to expand...
Click to collapse
While this maybe true, you also have to take into consideration that the battery already does this without this mod when it stays at 1% for extended periods of time. Also, there is a file in the framework-res.apk that has all the power profiles of each component in its mAH values. But I am pretty sure with this mod, I wouldn't think you would drain the battery all the way to 2 or 5% expecting to go another day or to go to work with it. When you get down to 5%, the screen dims automatically so that alone would force people to charge the phone. But that is a good question. Now the ONLY Time the percent values would be off is when you use the phone in recovery mode for extended periods of time or when you charge the phone when the phone is off, you have to go into the app and reset to 100%. I am working on a code which makes the percent automatically go to 100% when voltages hit fully charged.
7 Hours off battery.
Sent from my SM-N910T using XDA Free mobile app
TheLoneWolf20 said:
While this maybe true, you also have to take into consideration that the battery already does this without this mod when it stays at 1% for extended periods of time. Also, there is a file in the framework-res.apk that has all the power profiles of each component in its mAH values. But I am pretty sure with this mod, I wouldn't think you would drain the battery all the way to 2 or 5% expecting to go another day or to go to work with it. When you get down to 5%, the screen dims automatically so that alone would force people to charge the phone. But that is a good question.
Click to expand...
Click to collapse
So we don't have to find values? Is that how the Fuel Gage chip does it? How confident are you in how accurate this will be?
jayden485 said:
So we don't have to find values? Is that how the Fuel Gage chip does it? How confident are you in how accurate this will be?
Click to expand...
Click to collapse
The fuel chip uses voltage levels as well as values stored in the kernel to come up with a near accurate reading. What I can do is put the stock battery in and set the app to the stock capacity and see if the app capacity matches up with the Fuel gauge capacity. But I am pretty confident that it will be accurate. Again, even if we get to 5 or 3% battery before shut down, its MUCH better than getting to 1% and still have 55% battery left. And that can be fixed.
The app can tell the different brightness levels from 0 to 255, Rather bluetooth, wifi, gps is on or off, talking on phone, etc. and it auto adjusts accordingly.
Sent from my SM-N910T using XDA Free mobile app
Now we are cooking with gasoline
It couldn't be any worse than not doing anything so.
Sent from my SM-N910T using XDA Free mobile app
following this thread to see results, as my zerolemon is yet to arrive later this month so can't really test anything
Warnahly said:
following this thread to see results, as my zerolemon is yet to arrive later this month so can't really test anything
Click to expand...
Click to collapse
Alright no problem. I didn't release anything yet until I make sure everything is super stable.
I'm waiting for the release
I had to delay releasing the beta because I found a major issue with the current polling fix which shut down charging prematurely because it didn't poll any Temperature and Voltage levels form the Thermistors. But I have found the string I was looking for all along and I will begin going the back door way. Once I can get that done, I will have no problem releasing the beta for testing. Before I officially post it on here, I want to give it to a select people first to let them try it out and report back to me any issues they encounter so if you are interested in Testing it, please send me a PM. I have a couple of people already down. ALSO, Please put down what kernel you are using, The Source Code link of the kernel and the Variant of your Note 4. I am working with the BioShock Kernel right now and I am planning to do a Emotion version as well. For those who are on AOSP or AOKP kernels / ROMS shoot me a PM and I can see what I can do. Once again, I want to thank you guys for your continued patience.
One more thing, It also helps to charge your ZL Battery all the way to 100%
Congrats! Persistence pays off.
Emotion kernel for me
I finally got the polling redirected so that the phone still reads the Temp, Voltage, Current, and other values which makes sure that the battery remains safe. Only the calculated capacity from the App will go through the system. I could release it right now, but I want to fix one more value before it passes me.
Running more test before I pass it on to some of you guys for your testing. I have the Temperature, Current and Voltage sensors working now I just need to make the current percent value stick with the file so when I do a restart, it doesn't jump up.
Sent from my SM-N910T using XDA Free mobile app
First Beta Release on Lollipop BioShock
Alright guys, I have shaped this mod up to the best of my abilities and I present to you the Bravo version of it. I will get other kernel versions of this mod out but in the mean time I am sticking with the Original work space one based off of the Lollipop BioShock 3.10.40. I know this is the older version, but I will mass update ALL the kernels really soon. Basically everything (even the app) are enclosed into 1 ZIP file so all you have to do is flash the Kernel and you are ready to go. A couple of things I would like to get out there:
1. You should have a Fully charged ZL Battery. I wouldn't say before flashing this as you can re-calibrate the app, but I would recommend that you do so to avoid any confusion.
2. When you charge the battery with this mod, yes the percentage does charge fast and it will most likely show 100% BEFORE the battery reaches 100%. There is a issue with the current/mA flow readings IN the app and that will be fixed in the near future. Please understand that TRUE 100% is when the phone says "Fully Charged 100%, Unplug Charger" not when the Fuel gauge (next to the clock) says 100%.
3. Some people ask "Will the app Accurately calculate the battery to avoid shutting down at lets say 15% or still running 1% for days like normal"? And the answer to that is most likely Yes, and Possibly no. I say yes to the first part because you can put in the different drain values of each component in the Note 4 so that the app can detect the draining and calculate accordingly. Now, I will warn you that I have never used this mod to do a full complete drain. So I will say I wouldn't recommend letting the battery go all the way down to 15% (just as a safety net if you plan on going out, etc) in-case the battery does hit 3.4 volts which is the Note 4's 0% Shutdown target. And the 1% mod is almost unlikely.
4. Finally, I have received your messages and Emotion Kernel seems to be the popular Kernel at this time (I will be using it in the coming days also) so I will get to that next once I get the source code loaded. (KitKat users, you are not forgotten) I will also be posting the Kernel files so that Kernel devs can make different variants once I hear from you guys on how this mod is working. To me, I think its great. From the way it was before I can say its a Improvement from the drain calculation side. The charging side needs work, but hey, you hardly have to charge the dang thing anyways lol.
Now to the Installation
Of course, I would recommend that you do a backup of course and that you have a backup kernel with you. Basically, if you can use this kernel http://forum.xda-developers.com/not...pment/kernel-bioshock-1-5-dec-4-2014-t2962744 It should work.
Once you have flashed the file below "BioShock_N910T_TW_LP_Extended_Battery_Mod_OFFICIAL_BRAVO.zip", you should also wipe delvik and cache just to make sure everything goes smoothly. If the mod was successfully installed, your battery level should read "101%". It will read 101% every time you reboot just to keep things clean and then go back to the App's fuel gauge level 1 minute after boot.
If it shows 101%, go into your Apps and you should see a App called "Fuel Gauge Extended..." Open that app up and wait about 3-5 seconds for everything to populate (Done to keep battery usage down). Make sure to check Start on Boot if you want the service to start with the phone (which I think EVERYONE should do) and then tap start monitor. You might get a SuperSU permission screen which you want to grant permissions to. Once you see the Status saying "Running" go down to the debug area to the "Patch Status" string and it should report "ok/[success]]" and your real battery gauge should read whatever the Software Status says.
This app also doesn't have the on screen dedicated 3-dot menu buttons so you have to go old fashioned and how down the left menu soft-key for a second until a menu pops up at the bottom which shoes Start Full Charge, Set full battery, and configuration. This is where you can calibrate your battery so that once you fully charged your battery, you go into the app and select "Set full battery" to set the app and battery capacity to 100%. Please note that this will take anywhere from 30 seconds to 1 minute to update the battery meter globally. You don't want to press either one of these when you already have calibrated the battery before and you are at half a charge as you will lose your capacity remaining level and accuracy until you fully charge again.
Under configuration, you can make the app calibrate to 100% every time your phone displays "Fully charged, disconnect charger". You can also disable the notification under Notification Icon.
Hardware current is where you can change the different consumption values of each component. I wouldn't mess around here too much as you could create a imbalance within the app calculations.
And basically that's pretty much it. IF and SHOULD you have any problems, just reply here or shoot me a PM and I will help you to the best of my abilities.
Thank you guys for your patience and I hope you enjoy this beta mod.
Awesome work man, I look forward to using this. On lollipop it seems my zL runs about a 15% battery difference from actual to estimated. This would be of great help.
:good::good:
JDevil said:
Awesome work man, I look forward to using this. On lollipop it seems my zL runs about a 15% battery difference from actual to estimated. This would be of great help.
:good::good:
Click to expand...
Click to collapse
No problem, I am happy it is working for you.
TheLoneWolf20 said:
No problem, I am happy it is working for you.
Click to expand...
Click to collapse
Ah, I have yet to test the mod. Have to do a backup first because I'm not too sure bioshock will run Verizon without complications. I haven't tried any other kernels running Jasminerom with kexec.

*TRICK* The Proper Way To Obtain Peak Battery Life!

So I have been testing the LG Optimus G E970 AT&T for quite some time now.
What I found is stock, non-stock, custom kernel, stock kernel, custom rom is it doesn't matter what choice is made, Battery life sucks. Wouldn't you guys much prefer a couple days compared to a half a day?
The absolute best way to obtain good performance at least acceptable performance and get days and days of battery life is simple. Primarily it has to be Cyanogenmod 10.2.0 Official Stable Release on stock kernel.
Cyanogenmod 10.2.0 by stock though gets about 15 hours as stock does. Though there is a couple cool things to do to get insane battery life. First is proper calibration by draining to absolutely dead. In terms of Android auto-shutdown, then boot up to recovery screen or bootloader. Let it sit on the bootloader until it's dead as a door nail. Prepare for a device which may not turn on with or without power period. It would appear bricked/ dead, however its far from that. This is a force calibrate procedure and if it doesn't power on or respond to power after that it's clear the battery is heavily damaged from improper charging. I had to remove the nano screws on bottom, and nano screws holding the battery ribbon connector. Which I left the screws out for easy quick battery access in the future. I had to disconnect the battery ribbon, then plug in power and watch it start up to lightning bolt charging mode. I then unplugged and plugged in the battery ribbon. This time it started charging from absolute 0%. I charged it from absolute 0% to 100% without stop. It will then be properly calibrated and will stay that way as long as you charge appropriately when it dies or gets below 5%.
You must leave developer options disabled as well as it'll force interactive as governor. Range by stock 384-1512mhz. You will need two apps one is DS Battery Saver and set it to Slumberer, and in options settings deepsleep uncheck check background data and battery triggers to ignore. This alone will force 24-36 hours with full 1.5ghz performance but will lose 25% per hour heavy use as normal.
Next step will be download MULTICORE CPU CONTROL FREE. Set Core 1,2,3 to always disabled and set Core 0 to max 702Mhz via custom profile select profile save.
The difference between running on a single core at 702mhz vs all 4 at 1512mhz is a delay in milliseconds.
1512mhz on all cores give less than 100ms delay of response and gives horrible battery life while in heavy use. It will lose a couple percent per minute while in use.
702mhz on one core gives roughly 750-1750ms delay response. That means it is 17.5 times slower though the battery life is insane! Even my mind runs fast and I can deal with that delay no problem, even with how picky I am about snappyness.
Now on every boot you pretty much need to go to the profile edit and re-save if you set auto apply on boot up it'll still ignore it. So edit profile save on each boot and check time spent in states to make sure only core 0 is active 100% of the time and at 702mhz max.
So far I have achieved 1% loss per hour while in heavy use. Which should in theory approach and exceed 99 hours on battery without charge. However realistically it'll achieve now more than a day and could last closer to a week when idle!!!
Anyway Good Luck Guys!
whoa what? can you tell me your findings thus far?
optimisandroid said:
whoa what? can you tell me your findings thus far?
Click to expand...
Click to collapse
The CPU Profile disabling cores does improve battery life but I just got sick of messing with the app. Developers should create an AROMA Kernel installer to do just this without toying with it every boot.
So far though I'm getting no less than 48 hours out of it now... Not bad but I'm gonna buy a new phone anyway the in call volume is horrible and clarity of both ends is horrendous.
So I'm gonna buy a Galaxy Note 1 or 2 probably one because it's less than $100. Note 2 is like $125 but I'll be okay with a dual core for $90 and 5.3" Screen. It's also the Mass Storage will be way better. The E970 hates my SD card it doesn't like it not one bit plus the Storage Configuration on E970 is straight up stupid.

HP TOUCHPAD - PowerOFF- Prevents Battery Drain

PowerOFF Prevents Accidental Battery Drain.
The main issue with the Tablet has been a dead battery, not turning on and showing a battery symbol.
The condition has been associated with the Tablet been brick as it just kill itself, I will call it Suicidal Mode.
From my experience and by coincidence I have seen how a Tablet that has been off for days will turn on by itself.
Once a Tablet turns on by itself, it boots into the moboot menu and then to the default OS, Android or Recovery.
It will stay on until the battery gets depleted then it shutdown, without the user been aware of the Tablet's Suicidal Mode.
Another possible scenario is when traveling with the Tablet. Sometimes it needs to be pack or place in storage.
It only takes the power button to accidentally get press for the Tablet to boot and drain the battery.
There is no option or command in moboot to select shutdown by default when the Tablet turns on, paving the way for the Suicidal Mode to be executed.
The solution is PowerOFF, if by any means the Tablet turn on accidentally and the user is not aware it will turn off automatically preventing booting into Android or Recovery.
When to Flash PowerOFF:
When taking the Tablet on a trip or is going to be handle unsupervised.
The Tablet will not be use for a period of time or place in storage.
The user does not want the Tablet to automatically boot into Android or Recovery, but stay off.
If the Tablet is full charge and place in normal room temperature it should last approximately 6 month or more.
The following files can be flash in TWRP Recovery:
Click HERE to Download PowerOFF
1. Flash_PowerOFF.zip -- Copy uImage.PowerOFF into boot and makes it the boot default.
2. Remove_PowerOFF.zip -- Remove PowerOFF from boot and makes Recovery the boot default.
To make the Android version the boot default, re-flash the HpTp from the already flashed ROM.
There is no need to re-flash the ROM.
If the /boot partition is full and PowerOFF can not be flash or work properly then flash:
Clean_Boot_Remove_All_ROM_Boot_Files.zip
It will create a backup of /boot into the Micro SD Card.
Delete all Android boot images, freeing space to copy PowerOFF.
How PowerOFF works.
The flash file by FLINTMAN-update-TWRP-touch-data_media-SELINUX-TEST-Build_4-25-14.zip
Is modified and reduced to turn off the Tablet instead of launching TWRP.
The size of PowerOFF is 5.1MB which allows it to coexist in the boot partition with TWRP Recovery 3.2.1 and any Android boot uImage.
Many thanks @flintman for porting TWRP Recovery to the HP Touchpad that has made it possible to flash any ROM, also for all the great Android ROMs....!
I can unequivocally say I have never had any of the 4 TouchPads I have owned in the last 9 years turn on by themselves. I have never before now heard the topic discussed in any TouchPad thread or forum. If one properly packs their tablet for a trip, it should not get inadvertently turned on by the power button getting pressed while packed in your luggage. That being said, lucky you to own one that does. My question is, once your modified version of TWRP is installed, I guess that your TouchPad sits there, turns itself on and then your UImage turns it off. Then it turns on again and then it turns off. I wonder how long before your TouchPad runs out of battery sitting there turning itself on and off? Maybe you should install a battery disconnect switch instead.
So the question is, does this keep a TouchPad turned off or is it going to sit there and cycle on and off?
smithylovestouchpad said:
So the question is, does this keep a TouchPad turned off or is it going to sit there and cycle on and off?
Click to expand...
Click to collapse
The Tablet will be kept off.
Shutdown ( permanent off ) PowerOFF
Reboot ( turns off, then on )
PowerOFF is the same command used in Android and TWRP Recovery to shutdown the device.
By having PowerOFF as the default in the moboot menu, is guarantee that the Tablet will turn off automatically and prevent a battery drain when it gets turn on by accident.
A simple test:
Tablet is off, but connected by USB cable to any PC or Laptop that are also off.
Once the PC turns on, it triggers the Tablet connect to it by USB to come on. It will boot into Android or Recovery.
When the PC is turn off and the user forgets to turn off the Tablet, it will keep working until it shutdown for low battery (only in Android) in Recovery will be a total battery drain.
The Tablet can be off and connected to the wall outlet any spike in electricity will trigger the Tablet to come on.
Because is connected to the outlet it will keep charging and nothing will happen to the battery, unless for some reason it gets overheated.
But if the user does not want it to automatically boot into Android or Recovery it will always be kept OFF.
PowerOFF is like a safety option that will prevent the Tablet to be ON unattended; without the user be aware.
So if I interpret you correctly:
Shutdown ( permanent off ) PowerOFF
Reboot ( turns off, then on )
if a TouchPad with your version of TWRP in /boot, if the tablet gets turned on by accident or for some other reason that you describe, it willn be turned off. You said you have a TouchPad that turns on by itself. You did not explain why it does this. The point I am making is, if a TouchPad turns on, your TWRP will turn it off. If it turns on again, your TWRP will turn it off. So theoretically, a TouchPad could sit there turning on and off until the battery died. Am I correct? There is no permanent off, just the version of TWRP that keeps turning the TouchPad off every time it turns itself on.
I had mine do this on occasion over the years.
Mostly due to operator error. I'd power it off and then place it Power Button side down...
Also on travel I've packed 'em wrong and they would be dead when I got 'em out of my case. Again operator error...
I've also seen them just boot up on their own resting on a stand in landscape position. I attribute this to the 'gremlins' I have running around my place.
middle_road said:
I had mine do this on occasion over the years.
Mostly due to operator error. I'd power it off and then place it Power Button side down...
Also on travel I've packed 'em wrong and they would be dead when I got 'em out of my case. Again operator error...
I've also seen them just boot up on their own resting on a stand in landscape position. I attribute this to the 'gremlins' I have running around my place.
Click to expand...
Click to collapse
My question still remains if you pack your TP in your baggage resting on the power button, is this fix going to prevent your tablet from cycling on and off or are your gremlins going to have fun turning your TP on every time this fix turns it off? If that is the case, I don't see the value in putting this modified version of TWRP in /boot.
Smithy
middle_road said:
I had mine do this on occasion over the years.
Mostly due to operator error. I'd power it off and then place it Power Button side down...
I will call that, design error. The Power Button on mobile devices should be flush with the casing to prevent accidental contact.
Also on travel I've packed 'em wrong and they would be dead when I got 'em out of my case. Again operator error...
Unless the Tablet is pack in it's original cardboard box when traveling, it will be difficult to predict what it could happen. There are too many variables on traveling to define a perfect way to pack it, is unpredictable even on an airline you may not get your luggage at all.
I've also seen them just boot up on their own resting on a stand in landscape position. I attribute this to the 'gremlins' I have running around my place.
Click to expand...
Click to collapse
I have also seen by coincidence a Tablet booting up, just place flat on a table. When the Tablets are full charged and place in normal room temperature, the battery should last for about 6 months or more with no need to recharge it or getting completely drain.
Last month a couple of Tablets got full charge and place on a table. One day as I was passing by the screen turn on into moboot and then to Recovery as there was no OS installed, then I turn it off and did not give it any importance. Over two weeks ago I try to turn on the same Tablet, but nothing will happen. Place it on the wireless charger and the Home Button LED light came on moving side to side, after some time the Low Battery symbols came on and then after some hours it booted into Recovery. The other Tablet also had a drain battery but it booted into the Low Battery symbol. That is when I decided to look for a way to keep the Tablet off if by any means got turn on and PowerOFF was my solution.
I am not saying that all Tablets do turn on by themselves but some do and that can explain why some users report of dead batteries and others pull a Tablet that has been stored in a drawer for long time and still have battery remaining.
What could cause a Tablet to turn on by itself?
I do not have an answer, but only speculations.
((( Electrical spike (surge) of the battery that tricks the charging board that it got plug into a PC or charger...... )))
smithylovestouchpad said:
My question still remains if you pack your TP in your baggage resting on the power button, is this fix going to prevent your tablet from cycling on and off
By "accident" if the Power Button gets press inside the baggage, it will take less than a minute to be turn off.
For the Tablet to possibly cycle on and off repeatedly the Power Button needs to be press constantly.
If the Power Button is in constant pressure in the baggage eventually it could get damage.
or are your gremlins going to have fun turning your TP on every time this fix turns it off? If that is the case, I don't see the value in putting this modified version of TWRP in /boot.
Smithy
Click to expand...
Click to collapse
If a gremlin decides to turn on the Tablet, it will automatically turn off preventing more gremlins damage and a possible data breach.
PowerOFF is gremlin-proof, it does not provide any visual feedback to keep them entertain, they will quickly acknowledge the Tablet is already malfunctioning and not working moving on to the next mobile device " Your Smartphone"
HP_TOUCHPAD said:
If a gremlin decides to turn on the Tablet, it will automatically turn off preventing more gremlins damage and a possible data breach.
PowerOFF is gremlin-proof, it does not provide any visual feedback to keep them entertain, they will quickly acknowledge the Tablet is already malfunctioning and not working moving on to the next mobile device " Your Smartphone"
Click to expand...
Click to collapse
So you have answered my question. If someone has a TP that has a propensity to turn itself on, your modified TWRP will turn it off but not keep it turned off. So a TP could sit there, turn on, and turn off until the battery is depleted. If a TP gets turned on by accident, for whatever reason, your modified TWRP will turn it off but not keep it turned off. So a TP could sit there, turn on, and turn off until the battery is depleted.
You should be aware that your suggestion that a person should charge their TP to 100% to store it is not recommended by lithium battery manufacturers.
From PowerStream.com:
The batteries should be stored at room temperature, charged to about 30 to 50% of capacity. We recommend that the batteries be charged about once per year to prevent overdischarge.
PowerStream Note: Test data confirms that storage of lithium-ion batteries is best if the cell is partially discharged. In one test by Cadex Electronics ( http://www.buchmann.ca ) after 1 year storage at 25°C the non-recoverable capacity remaining is 96% when stored at 40% initial charge level, but only 80% if stored with 100% initial charge level. This effect is reduced at lower temperature and is a non-issue at 0°C. At higher temperatures the effect is much worse. Cadex's recommendations are to store below 15° C at 40% of full charge (3.5 volts per cell). Our experience is that with cells stored at room temperature for 3 years that the non-recoverable capacity did not decrease, so this is probably manufacturer dependent.
I also have good news for you, Middle_Road's reference to gremlins is only metaphorical. Gremlins are only mythical creatures invented to entertain readers of fantasy literature not attack your TouchPad or Smart Phone. So your devices are safe. :cyclops:
smithylovestouchpad said:
So you have answered my question. If someone has a TP that has a propensity to turn itself on, your modified TWRP will turn it off but not keep it turned off. So a TP could sit there, turn on, and turn off until the battery is depleted. If a TP gets turned on by accident, for whatever reason, your modified TWRP will turn it off but not keep it turned off. So a TP could sit there, turn on, and turn off until the battery is depleted.
You should be aware that your suggestion that a person should charge their TP to 100% to store it is not recommended by lithium battery manufacturers.
From PowerStream.com:
The batteries should be stored at room temperature, charged to about 30 to 50% of capacity. We recommend that the batteries be charged about once per year to prevent overdischarge.
PowerStream Note: Test data confirms that storage of lithium-ion batteries is best if the cell is partially discharged. In one test by Cadex Electronics ( http://www.buchmann.ca ) after 1 year storage at 25°C the non-recoverable capacity remaining is 96% when stored at 40% initial charge level, but only 80% if stored with 100% initial charge level. This effect is reduced at lower temperature and is a non-issue at 0°C. At higher temperatures the effect is much worse. Cadex's recommendations are to store below 15° C at 40% of full charge (3.5 volts per cell). Our experience is that with cells stored at room temperature for 3 years that the non-recoverable capacity did not decrease, so this is probably manufacturer dependent.
I also have good news for you, Middle_Road's reference to gremlins is only metaphorical. Gremlins are only mythical creatures invented to entertain readers of fantasy literature not attack your TouchPad or Smart Phone. So your devices are safe. :cyclops:
Click to expand...
Click to collapse
That is why, usually, your new-in-box device is only partially charged when you unpack it.
Gremlins: They weren't 'invented', they were 'created' based on real world observation and experiences.
So when something happens that can't be explained easily, the Gremlins are guilty until proven innocent.
Especially when dealing with electrons.
...
..
.
middle_road said:
That is why, usually, your new-in-box device is only partially charged when you unpack it.
Gremlins: They weren't 'invented', they were 'created' based on real world observation and experiences.
So when something happens that can't be explained easily, the Gremlins are guilty until proven innocent.
Especially when dealing with electrons.
...
..
.
Click to expand...
Click to collapse
ROTFLMAF......
My bad,
I also have good news for you, Middle_Road's reference to gremlins is only metaphorical. They were 'created' based on real world observation and experiences. So when something happens that can't be explained easily, the Gremlins are guilty until proven innocent. They will not attack your TouchPad or Smart Phone. So your devices are safe.
How's that?
smithylovestouchpad said:
So you have answered my question. If someone has a TP that has a propensity to turn itself on, your modified TWRP will turn it off but not keep it turned off.
The Tablet will be kept OFF in the same way as it gets turn off in Android, Recovery or moboot menu is all the same.
So a TP could sit there, turn on, and turn off until the battery is depleted.
There has been no reports of a Tablet "constantly" turning on by itself. That is your own theory that it has not been witness or proof, of a Tablet turning back on after just been turn off. There is a difference between "constantly" and "predisposition".
If a TP gets turned on by accident, for whatever reason, your modified TWRP will turn it off but not keep it turned off. So a TP could sit there, turn on, and turn off until the battery is depleted.
To keep any mobile device permanently off, the battery must be disconnected or removed.
Once the Tablet is off is not going to turn on right away, the Gremlin must come and do it again. Maybe you should ask them how often they are going around turning on the Tablets to prove your theory that the battery will get depleted by the use of PowerOFF.
You should be aware that your suggestion that a person should charge their TP to 100% to store it is not recommended by lithium battery manufacturers.
My suggestions comes from the user manual by HP, attached is the link and the screenshot.
It does not mentioned for storage, but constant use.
Click HERE for the HPTP User Manual
From PowerStream.com:
The batteries should be stored at room temperature, charged to about 30 to 50% of capacity. We recommend that the batteries be charged about once per year to prevent overdischarge.
PowerStream Note: Test data confirms that storage of lithium-ion batteries is best if the cell is partially discharged. In one test by Cadex Electronics ( http://www.buchmann.ca ) after 1 year storage at 25°C the non-recoverable capacity remaining is 96% when stored at 40% initial charge level, but only 80% if stored with 100% initial charge level. This effect is reduced at lower temperature and is a non-issue at 0°C. At higher temperatures the effect is much worse.
Temperature is the KEY factor, the environment must be cold and dry. Placing any Device in a regular freezer will make the battery last longer but the humidity could damage other internal components.
Cadex's recommendations are to store below 15° C at 40% of full charge (3.5 volts per cell). Our experience is that with cells stored at room temperature for 3 years that the non-recoverable capacity did not decrease, so this is probably manufacturer dependent.
I also have good news for you, Middle_Road's reference to gremlins is only metaphorical. Gremlins are only mythical creatures invented to entertain readers of fantasy literature not attack your TouchPad or Smart Phone. So your devices are safe. :cyclops:
Click to expand...
Click to collapse
I am aware of the Gremlins terminology, @middle_road already gave a great explanation !
You said: When the Tablets are full charged and place in normal room temperature, the battery should last for about 6 months or more with no need to recharge it or getting completely drain.
Lithium battery manufacturers recommend not doing that. "The batteries should be stored at room temperature, charged to about 30 to 50% of capacity. We recommend that the batteries be charged about once per year to prevent overdischarge."
SIX MONTHS is considered storing a device.
That page from the HP manual has nothing to do with putting your TP away for a long period of time such as you suggest, 6 months. It has to do with every day usage and how to make your battery last longer. If someone even plans to stop using their device for a couple of months, they should drain the battery to between 30 and 50% and then put it away.
Gads, no need to yell, easy on the caps and large fonts.
smithylovestouchpad said:
You said: When the Tablets are full charged and place in normal room temperature, the battery should last for about 6 months or more with no need to recharge it or getting completely drain.
Yes, that recommendation is based on real life usage and not base on lab test that only takes weeks or hours, complete details below.
Lithium battery manufacturers recommend not doing that. "The batteries should be stored at room temperature, charged to about 30 to 50% of capacity. We recommend that the batteries be charged about once per year to prevent overdischarge."
SIX MONTHS is considered storing a device.
My original Tablet from the fire sale has always been charge the opposite, all details below.
That page from the HP manual has nothing to do with putting your TP away for a long period of time such as you suggest, 6 months. It has to do with every day usage and how to make your battery last longer. If someone even plans to stop using their device for a couple of months, they should drain the battery to between 30 and 50% and then put it away.
Click to expand...
Click to collapse
All devices manufactures include in the manual to fully charge the battery before use and always keep it charge. It does not make any sense at any time to only charge the battery 50-80% to last longer. The device must have a completely full charge battery to get the most out of during use, is common sense.
As for storage, my real life experience has been completely different.
Charging the HP Touchad for that past 3018 days.
My original HPTP 32GB that I bought the very first day of the fire sale on August 20 of 2011 from hhgregg on 10:20 am EST. ( Receipt available )
From: Saturday, August 20, 2011 To Saturday, November 23, 2019 the day of this post it has been:
8 years, 3 months, 4 days or
99 months, 4 days or
431 weeks and 1 day or
3018 days or
72,432 hours or
4,345,920 minutes or
260,755,200 seconds.
The Tablet currently has a perfectly working WebOS, set up to tripple boot into Android (Pie) or LuneOS.
Most of the use has been done in WebOS until late 2016 and has been used as follow:
Full charge to 100 % and after some portable used, recharged to 100 % and place it away, it has always been inside the cover and charge with the regular wall charger.
By 2017 I started using Android more on another pre-owned Tablet and the original has been on a desk inside the cover. It gets fully 1005 charged and turn off.
Some times it has been more than 6 month before it gets turn to check on battery.
I do not know specifically how many times the battery got completely drained, but it did occurred maybe more than 4 times.
The following data and screenshot are of the mentioned Tablet showing the Health Status of the battery.
To get the current and proper battery capacity use this guide:
Click HERE for Novacom command list
open a command prompt or terminal on a PC with the novacom driver an enter:
novacom -t open tty://
then
battery status
to finish enter poweroff or reboot
Code:
[email protected]:~$ novacom -t open tty://
battery status
battery present
voltage: 4113840
percentage: 100
current: -861562
capacity: 6483200
] a6 version
A6 Version: HW Ver: 12, FW Ver (major): 2, FW Ver (minor): 13, Fw Ver (build): 25, Pkg Rev: 12
] poweroff
Sat Nov 23 14:57:51 2019
novacomd socket was closed prematurely
novacom: unexpected EOF from server
The App Dr. Battery in WebOS is used to check on the battery status, attached are screenshots.
The Kernel in WebOS provides all the proper information to the Apps as is the native and provides 100% support to all the hardware including the a6 battery chip.
Click HERE for Dr. Battery forum
The battery is at 93 % capacity, almost as new and according to all the battery manufactures " Lab Test" it should have been dead long time ago.
The Tablet room temperature has always been around 80 - 85 Fahrenheit ( 26 - 29 Celsius ) not the idea of 59F (15C)
It has always been kept full charge when not in use.
This has been a real life test of 3018 days, not in a Lab, an artificial control environment of charging and discharging rapidly.
From my experiences Lab test can provide certain important data but only Time and true usage is the final answer.
There is no way a manufacture can accurate test a product in a short period of time to replicate its real time life expectancy.
Only the user could provide the results after been using the product in a certain way for a prolong period of time.
It will be interesting if current users could issue the command novacom -t open tty:// battery status and report the capacity of the battery.
HP_TOUCHPAD said:
All devices manufactures include in the manual to fully charge the battery before use and always keep it charge. It does not make any sense at any time to only charge the battery 50-80% to last longer. The device must have a completely full charge battery to get the most out of during use, is common sense.
As for storage, my real life experience has been completely different.
Click to expand...
Click to collapse
Your real life experience does not supersede the manufacturer's recommendations on how to properly prepare a lithium battery for STORAGE or periods of non-use such as 6 months. Why would you choose to recommend doing something that goes completely against what the manufacturer suggests?
---------- Post added at 01:51 AM ---------- Previous post was at 01:15 AM ----------
HP_TOUCHPAD said:
My original HPTP 32GB that I bought the very first day of the fire sale on August 20 of 2011 from hhgregg on 10:20 am EST. ( Receipt available )
From: Saturday, August 20, 2011 To Saturday, November 23, 2019 the day of this post it has been:
8 years, 3 months, 4 days or
99 months, 4 days or
431 weeks and 1 day or
3018 days or
72,432 hours or
4,345,920 minutes or
260,755,200 seconds.
The Tablet currently has a perfectly working WebOS, set up to tripple boot into Android (Pie) or LuneOS.
Most of the use has been done in WebOS until late 2016 and has been used as follow:
Full charge to 100 % and after some portable used, recharged to 100 % and place it away, it has always been inside the cover and charge with the regular wall charger.
By 2017 I started using Android more on another pre-owned Tablet and the original has been on a desk inside the cover. It gets fully 1005 charged and turn off.
Some times it has been more than 6 month before it gets turn to check on battery.
I do not know specifically how many times the battery got completely drained, but it did occurred maybe more than 4 times.
The following data and screenshot are of the mentioned Tablet showing the Health Status of the battery.
To get the current and proper battery capacity use this guide:
Click HERE for Novacom command list
open a command prompt or terminal on a PC with the novacom driver an enter:
novacom -t open tty://
then
battery status
to finish enter poweroff or reboot
Code:
[email protected]:~$ novacom -t open tty://
battery status
battery present
voltage: 4113840
percentage: 100
current: -861562
capacity: 6483200
] a6 version
A6 Version: HW Ver: 12, FW Ver (major): 2, FW Ver (minor): 13, Fw Ver (build): 25, Pkg Rev: 12
] poweroff
Sat Nov 23 14:57:51 2019
novacomd socket was closed prematurely
novacom: unexpected EOF from server
The App Dr. Battery in WebOS is used to check on the battery status, attached are screenshots.
The Kernel in WebOS provides all the proper information to the Apps as is the native and provides 100% support to all the hardware including the a6 battery chip.
Click HERE for Dr. Battery forum
The battery is at 93 % capacity, almost as new and according to all the battery manufactures " Lab Test" it should have been dead long time ago.
The Tablet room temperature has always been around 80 - 85 Fahrenheit ( 26 - 29 Celsius ) not the idea of 59F (15C)
It has always been kept full charge when not in use.
This has been a real life test of 3018 days, not in a Lab, an artificial control environment of charging and discharging rapidly.
From my experiences Lab test can provide certain important data but only Time and true usage is the final answer.
There is no way a manufacture can accurate test a product in a short period of time to replicate its real time life expectancy.
Only the user could provide the results after been using the product in a certain way for a prolong period of time.
It will be interesting if current users could issue the command novacom -t open tty:// battery status and report the capacity of the battery.
Click to expand...
Click to collapse
Can't believe you would waste all this time and effort to thumb your nose in the face of what the companies that manufacture these batteries recommend. Any smart person would choose to believe what they recommend rather than you.
We haven't even touched on what the current philosophy concerning the charging of lithium batteries is today. It's called the 40/80 rule. Try not to discharge your battery below 40% and stop charging when it reaches 80%. This helps give you maximum battery life.
https://www.csmonitor.com/Technology/Tech/2014/0103/40-80-rule-New-tip-for-extending-battery-life
Just like the recommendation to set the charge to around 50% to store a lithium battery, the 40/80 rule for charging is just a recommendation if you want to get the maximum life from your battery. But I suppose you will take issue with that too since it does not fall into your real life experience.
---------- Post added at 02:08 AM ---------- Previous post was at 01:51 AM ----------
middle_road said:
Gads, no need to yell, easy on the caps and large fonts.
Click to expand...
Click to collapse
Sometimes one has to speak a little louder to get through to someone who does not listen very well. And he is definitely hard of hearing when it suits him. His inability to accept real facts as presented it typical for him. He lives in his own distorted reality that does not mesh with the rest of the world. Sad
Look at his response to what I said. What alternate reality is he living in?
smithylovestouchpad said:
Your real life experience does not supersede the manufacturer's recommendations on how to properly prepare a lithium battery for STORAGE or periods of non-use such as 6 months. Why would you choose to recommend doing something that goes completely against what the manufacturer suggests?
Post the link from the battery manufacture that HP outsourced and place it in the Tablet, that state what you have read from other sources that do not produce any batteries at all.
Technically the battery in the Tablet is a Lithium Polymer and was made by Amperex Technology Limited, this is the web site of the real manufacture.
https://www.atlbattery.com/en/index.html
Attached are all the parts and the manufactures.
Click to expand...
Click to collapse
Can't believe you would waste all this time and effort to thumb your nose in the face of what the companies that manufacture these batteries recommend. Any smart person would choose to believe what they recommend rather than you.
I have provided the screenshots, proof or real test of over 8 years. Post the link of a test that was conducted for that long.
We haven't even touched on what the current philosophy concerning the charging of lithium batteries is today. It's called the 40/80 rule. Try not to discharge your battery below 40% and stop charging when it reaches 80%. This helps give you maximum battery life.
The controller (chip) is programed by the device manufacture in this case by HP to take that into consideration. When the battery is showing 100 % charge is not using the full capacity of the battery. That is why HP and all other device manufactures states to fully charge the device before use, it does not say 80 %.
Show me in any manual where it says to charge at only 80 %.
https://www.csmonitor.com/Technology/Tech/2014/0103/40-80-rule-New-tip-for-extending-battery-life
Just like the recommendation to set the charge to around 50% to store a lithium battery, the 40/80 rule for charging is just a recommendation if you want to get the maximum life from your battery. But I suppose you will take issue with that too since it does not fall into your real life experience.
You got to learn the meaning of many words beginning with " recommendation ".
---------- Post added at 02:08 AM ---------- Previous post was at 01:51 AM ----------
Sometimes one has to speak a little louder to get through to someone who does not listen very well. And he is definitely hard of hearing when it suits him. His inability to accept real facts as presented it typical for him. He lives in his own distorted reality that does not mesh with the rest of the world. Sad
Look at his response to what I said. What alternate reality is he living in?[/QUOTE]
I provided my real facts, I am not repeating general information that does not apply specifically to the Tablet.
Prove me wrong and post a screenshot of your Tablet showing the capacity available using:
novacom -t open tty://
battery status
"Technically the battery in the Tablet is a Lithium Polymer"
I never said it wasn't.
"I provided my real facts, I am not repeating general information that does not apply specifically to the Tablet."
Any information from reputable sources about lithium batteries applies to the battery in the TouchPad.
"Show me in any manual where it says to charge at only 80 %."
I never said it was in any manual, I said it was the current philosophy concerning the charging of lithium batteries. Where did you learn to read?
"I have provided the screenshots, proof or real test of over 8 years. "
8 years of screen shots does not supersede the recommendations of legitimate sources of information about charging lithium batteries.
"Prove me wrong and post a screenshot of your Tablet showing the capacity available"
Why would I want to do that? I know exactly how my battery is doing using Battery Monitor Widget.

How To Guide How to limit charging on Pixel 6

With credit to VR-25 from Github:
If you edit these files and put you own values in then your phone will start charging when it drops below 75% and stop when it gets to 80%. (put your own values in, etc.)
I have only tested it briefly but it seems to work for AC and USB charging for me so far. No other apps or tweaks needed.
/sys/devices/platform/google,charger/charge_start_level:75
/sys/devices/platform/google,charger/charge_stop_level:80
EDIT: You need to be rooted to do this, and you need to reapply the settings after reboot.
I have a Tasker action that does this automatically 5 minutes after rebooting.
If only there was a way to use that without root :-S
What would be the purpose for this.
I always charged to a 100% and never had issues on my devices.
I use the adaptive charging overnight and think that will help with battery life.
vandyman said:
What would be the purpose for this.
I always charged to a 100% and never had issues on my devices.
Click to expand...
Click to collapse
If you do some reading you will see that charging over 80% and draining under 20% will significantly shorten the lifespan of your battery. This is important for those of us that have devices not sold in our country so getting replacement batteries would be very difficult and expensive. I have phones that are more than 9 years old and still going fine if charged like this.
Galaxea said:
If you do some reading you will see that charging over 80% and draining under 20% will significantly shorten the lifespan of your battery. This is important for those of us that have devices not sold in our country so getting replacement batteries would be very difficult and expensive. I have phones that are more than 9 years old and still going fine if charged like this.
Click to expand...
Click to collapse
If you would have read the correct information on this subject. You would know that this not true for today's battery technology.
This is nothing but a myth.
You will have a better chance looking for Bigfoot.
Why waste 40% of your battery use....
vandyman said:
If you would have read the correct information on this subject. You would know that this not true for today's battery technology.
This is nothing but a myth.
You will have a better chance looking for Bigfoot.
Why waste 40% of your battery use....
Click to expand...
Click to collapse
On the contrary. The most recent phones attempt to limit the time that they spend at 100% exactly because it's so bad for battery longevity. Having options like the OP's approach just gives users more flexibility, should they want more control than, in this case, Google's adaptive/AI approach.
And it's not 'wasting' 40% of the battery. Keeping between 80% and 20% just optimizes battery service life during those days you only actually only need 60% of it's possible capacity. When working from home that's often the case for me. I actually tend to use ~30% of the battery in a day. Better to charge it up daily to about 70% than all the way to 100% and let it go down to 10% over 3 days. If it's easy to do, why not?
Not quite the same, but EV design also has their batteries normally operating in the middle range so as not to compromise their service life...
Definitely not myth. The only myth is that lithium cells exhibit a memory effect and need to be deep discharged and fully recharged periodically to maintain their capacity. It's actually bad for them to do this! The only reason to do this would be in an attempt to recalibrate the software for the battery level gauge (at the cost of a little damage to the battery each time you do that).
vandyman said:
What would be the purpose for this.
I always charged to a 100% and never had issues on my devices.
Click to expand...
Click to collapse
Most folk don't notice reduction in battery capacity until it becomes severe. For example, a friend claimed it wasn't a problem charging his iPhone to 100% ritually. When he checked the OS, it said his battery capacity was 80% of what it was when new. He said he hadn't noticed it affect how long the phone lasted.
If your usage is such that you can predict how much capacity you need, you can choose to charge to 100% only those times you will actually need that capacity. Other times you can look after the battery so it's able to actually give near on 100% for longer, those times it's important to you.
Others who keep their phones a short time or are comfortable with the cost & inconvenience of a battery replacement, or simply don't care, don't have to worry....
WibblyW said:
On the contrary. The most recent phones attempt to limit the time that they spend at 100% exactly because it's so bad for battery longevity. Having options like the OP's approach just gives users more flexibility, should they want more control than, in this case, Google's adaptive/AI approach.
And it's not 'wasting' 40% of the battery. Keeping between 80% and 20% just optimizes battery service life during those days you only actually only need 60% of it's possible capacity. When working from home that's often the case for me. I actually tend to use ~30% of the battery in a day. Better to charge it up daily to about 70% than all the way to 100% and let it go down to 10% over 3 days. If it's easy to do, why not?
Not quite the same, but EV design also has their batteries normally operating in the middle range so as not to compromise their service life...
Definitely not myth. The only myth is that lithium cells exhibit a memory effect and need to be deep discharged and fully recharged periodically to maintain their capacity. It's actually bad for them to do this! The only reason to do this would be in an attempt to recalibrate the software for the battery level gauge (at the cost of a little damage to the battery each time you do that).
Click to expand...
Click to collapse
This all maybe good if you are planning on keeping your device for a few years.
Most people buy a new device every other year. If not once a year.
... and if you really want to knacker the battery, heat it up too!
Worst case scenario - using a sat nav app on your phone in the car on a hot day with the phone plugged into a car adaptor. It's going to be sitting there at elevated temperatures, possibly with the sun shining on it, whilst being kept at 100% battery....
I'm only a customer (and have no other affiliation) and like to tinker, so I got one of these for use in the car to limit temperature when charging and limit max charge. Not cheap, but ok compared with the cost of the phone https://chargie.org/
I'm sorry, but at the snails pace this phone charges I'd be very surprised if charging it to 100% every night will make any noticeable difference in the long run. I had a Xiaomi Mi10 Ultra with 120W fast charger. That phone used to charge from 0% to full in like 20 minutes. Now that's one way to quickly kill your battery.
The Pixel uses your alarm to adaptively charge the battery so it should never overcharge it anyway. I'd much rather us all of my battery than use it only between 20 and 80% just for it to last a little longer.
The files are overwritten on reboot so I created a Tasker task to write the values on reboot each time.
Biggenz said:
I'm sorry, but at the snails pace this phone charges I'd be very surprised if charging it to 100% every night will make any noticeable difference in the long run.
Click to expand...
Click to collapse
On what basis? All the research and tests are based on charge level not charge rate. Fast charging potentially just makes it worse...
But at the end of the day it's your phone. You'll charge it in whatever way works for you.
I feel like this post sort of misses the point. It clearly is aimed at those intending to keep their phones >1yr, it is stated explicitly.
I'm not rooted right now, so I've been using the AccuBattery app. One of the things it does it gives a notification every few minutes when the battery is at 80% or above so that you can physically unplug the phone from the charger. Obviously having this done automatically would be better, but I've been surprised at how well the notifications have worked in my case. Plus, I can always leave the phone plugged in if I know I need a full battery for some reason (ie a long day away from any charging source).
Galaxea said:
With credit to VR-25 from Github:
If you edit these files and put you own values in then your phone will start charging when it drops below 75% and stop when it gets to 80%. (put your own values in, etc.)
I have only tested it briefly but it seems to work for AC and USB charging for me so far. No other apps or tweaks needed.
/sys/devices/platform/google,charger/charge_start_level:75
/sys/devices/platform/google,charger/charge_stop_level:80
Click to expand...
Click to collapse
Dumb question but what did you use to write values into those files? Did you use a text editor (with root access) or just termux or something? I tried with the built in MiX text editor but it seems to choke once I open up the file.
Gibsonflyingv said:
Dumb question but what did you use to write values into those files? Did you use a text editor (with root access) or just termux or something? I tried with the built in MiX text editor but it seems to choke once I open up the file.
Click to expand...
Click to collapse
I used FX File Explorer (root option). Look for the #. SYSTEM (Root).
I was wondering if changing the file permissions after writing to them to read-only would make the changes stick, but I am sure the OS could still overwrite them...??
I wonder if there's a similar variable to tweak at what temperature the phone considers the battery is too hot and stops charging?
Galaxea said:
With credit to VR-25 from Github:
If you edit these files and put you own values in then your phone will start charging when it drops below 75% and stop when it gets to 80%. (put your own values in, etc.)
I have only tested it briefly but it seems to work for AC and USB charging for me so far. No other apps or tweaks needed.
/sys/devices/platform/google,charger/charge_start_level:75
/sys/devices/platform/google,charger/charge_stop_level:80
Click to expand...
Click to collapse
Did a bit of testing and it works fine. A few things I noticed:
1. Doesn't survive reboot. Now that I've set up MiX with pinned folders, I can make the change in seconds. Need to sit down and read through the acc documentation because AccA doesn't work. Would love to have an automatic solution. Miss my old Battery Charge Limit.
2. charge_start doesn't seem to matter. After all, if charge_start is set to 75 and the phone is at 70%, it shouldn't charge. But it does. I've kept mine at 0.
3. Point #2 is kinda beside the point, though, because charge_stop will stop at the set value and stay there. No noticeable increase in temperature from what I can see. Definitely less than when charging.
4. Still shows as charging rapidly when it hits the level. Is it rapidly cycling charging on and off? Or in a kind of micro-current state? Or this may be a true battery idle situation where all power is drawn from the adapter. Ampere and AccA just show "not charging".
Edit: With a bit of use today, it does seem to act like a normal min/max charge deal, so I set it at 75 start/76 stop. Not sure what was happening at first...maybe something to do with the adaptive charging since I still have that on. Either, way, no complaints. With my use case working from home, I have it plugged in most of the day and it'll only take me about a minute to change charge_stop to 100 when I'm planning to go out all day somewhere away from chargers. Not ideal, but still a big improvement. Changes my rating of the thing from maybe 3.5 stars to 4.5.

Categories

Resources