Charge Monitor shows graphs of the charging current, battery temperature, capacity and voltage.
Gives you the possibility to compare the charging current of different chargers and cables.
A picture is worth a thousand words.
Change log
Version 1.6.3
- Bug RemoteServiceException
+ Tablet improvements
Version 1.6.2
- Bug
Version 1.6.0
+ Manual calibration
+ Change minimum battery alarm temperature to 35°C
+ Splash background
+ Adaptive launcher icon
+ Updated libraries
Version 1.5.2
- Bug fix
- ClassCastException HorizontalScrollView
- NameNotFoundException PackageManager
+ Fix Fahrenheit
Older changelog
Version 1.5.1
- bugs
- set alarm permission
Version 1.5.0
+ Tablet layout
Version 1.4.1
if you're updating from the previous version delete app data!!
Graphs
+ More precise temperature & voltage (mV) in graph
+ Battery current graph smoothing
+ Move graph settings to graph window(swipe up)
+ Calibrate so that current is positive while charging, negative while discharging
History
+ 'New' icon in history
+ Fast scroller in history
+ Compare 2 or more graphs (select graphs to compare them)
Other
+ Help dialogs
+ Improve logging for unsupported devices
+ Android O support
Version 1.2.2
+ Implement SQLite database
+ History sorting & cleaning
+ Send data as csv file
+ Option to delete notification after charging
+ Battery temperature alarm
+ Graph settings & improvements
+ ExceptionHandler if side loaded
+ Alternative current calibration (experimental)
Version 1.1.1 bugfix
Graph updates when it shouldn't
Graph not hiding navigation bar
Version 1.1.0
Fixed bugs
Add log, to make it easier to send feedback
Refresh graph while charging
Show time to full in graph
Power supply in alphabetical order
Hide Power supply from settings if it isn't readable (Before installing the new version, disable show power supply if it isn't readable because it won't be in the settings anymore!!)
For automatic updates:
Will test it today. Report tomorrow.
Works. No error. But quit useless, i don't know how i could use these data ^^ can i export them into xls file ? Can't remove notification.
Thanks for this. Any chance to measure battery cycles?
billubakra said:
Thanks for this. Any chance to measure battery cycles?
Click to expand...
Click to collapse
Yes, enable Show sys/class/power_supply in the app settings.
And have a look at sys/class/power_supply/battery, there you'll see battery_cycle.
I don't know why but I can't seem to add a screenshot to this post, see the first post for the screenshots.
Gazatus said:
Works. No error. But quit useless, i don't know how i could use these data ^^ can i export them into xls file ? Can't remove notification.
Click to expand...
Click to collapse
Thanks for your response.
While the app is gathering data you'll see a notification so you know that it's working in the background and yes you can't dismiss that notification.
With the data you'll be able to keep track of your battery temperature, the lower, the better for the longevity of your battery. Or you could compare different ways of charging your device, fast/slow, plugged/wireless.
I'm putting exporting the data on my to-do list.
Could you tell me the model of your phone and post a screenshot of the graph?
Thanks again!
waterdaan said:
Yes, enable Show sys/class/power_supply in the app settings.
And have a look at sys/class/power_supply/battery, there you'll see battery_cycle.
I don't know why but I can't seem to add a screenshot to this post, see the first post for the screenshots.
Click to expand...
Click to collapse
Will do and will get back to you.
i just installed it, will test soon. but at first sight, i see a minor visual mistake in the settings, where the top bar is too tall when it doesn't include tabs, not according to material design guidelines
Gazatus said:
Works. No error. But quit useless, i don't know how i could use these data ^^ can i export them into xls file ? Can't remove notification.
Click to expand...
Click to collapse
lol...first of all this so rude to say something like this. And this app can be so useful to use while you are checking your chargers and charging cycles etc. If you can not contribute something then stop cluttering the app threads. Its like you can move on and please don't bother to reply
Gazatus said:
Works. No error. But quit useless, i don't know how i could use these data ^^ can i export them into xls file ? Can't remove notification.
Click to expand...
Click to collapse
Hi, it wasn't an attack, i did a test and tell what i though. There no "tutorial" in the app so i was wondering what could i do. Don't judge too fast boy
PS: tested on Sony Z3 - marshmallow
Just installed on my Oneplus 2, running oxygenos 3.5.6
Everything seems to be ok, except that there are no units showing next to the numbers. Also, current shows too many numbers, seems to be showing μA instead of mA.
I can provide screenshots or anything else if needed for help
Thanks for the app of course!
Edit: Both aforementioned issues seem to be present on a friend's LG G2 as well.
Edit 2: After the 15% calibration passed and phone charged, everything is ok. Numbers are normal, units show up, so cheers again for the app!
Feedback!
Liked the interface! Lucid and simple to use. From the screenshot you can see battery charge cycle is something about 742. Can you tell me what can you determime from this?
Bdw tested on Samsung S6 Edge G925I having Alexis rom installed
Very good app, just what I was looking for long time ago. just one thing, if is possible to put an switch to invert the charging current, as some devices it appears an negative value when charging. My device is OnePlus 3
Working well
Hi I've just installed on my LG G4 with stock MM and everything seems ok but there's one bug, on history screen when I'll click on history of charging nothing happens, long press works as it should...
This looks like a really useful app, installed on all my devices that will report charging data, will offer feedback if/where I find it.
I know this is about charging, but in your to do list, is there discharging as well? I would love that so much, especially if you do build in export capability.
Excellent work, thank you for putting it out here.
Gazatus said:
Hi, it wasn't an attack, i did a test and tell what i though. There no "tutorial" in the app so i was wondering what could i do. Don't judge too fast boy
PS: tested on Sony Z3 - marshmallow
Click to expand...
Click to collapse
Don't worry, I didn't take it as an attack, but as a genuine question. Yeah I should improve the fist post a bit.....
AndStuff said:
Just installed on my Oneplus 2, running oxygenos 3.5.6
Everything seems to be ok, except that there are no units showing next to the numbers. Also, current shows too many numbers, seems to be showing μA instead of mA.
Edit: Both aforementioned issues seem to be present on a friend's LG G2 as well.
Edit 2: After the 15% calibration passed and phone charged, everything is ok. Numbers are normal, units show up, so cheers again for the app!
Click to expand...
Click to collapse
Thanks!! Yes different phones reporting the battery current in different units (μA or mA and hopefully no others) is one of the reasons why I'm asking for your help here.
oneplus 3 user here, running official resurrection remix, 7.1.1, stock kernel
so, i've been using it for a while now, and here's what i have to say:
good design, although the top bar in settings should be thinner, the black theme is awesome.
it does the job of monitoring the charging process very well, the data seems to be accurate and can surely be useful
the app is lightweight, drains no resources and has no noticeable impact on the phone's behavior or performance
here's what i suggest to make the app better:
when viewing the chart of the active charging cycle (opened from within the app, not from the notification), add autorefresh every few seconds so people don't have to exit and reopen it to refresh
make the line for charging current display the absolute value of the current and fix the 0-line on the bottom so it makes more sense
it would be awesome to display cpu load and cpu temperature as optional lines in the chart, so one can compare the impact of using the phone while charging
but i have to say, good job so far, if i were you, i'd do some polishing, slap a google ad to the bottom, add a donate option and post it to the play store .
I tried it. Asus ZenFone 2, running Android 5.0, stock and rooted.
I think it also showed some odd numbers when the app started, but I'll check again tomorrow to make sure.
P.S. Maybe you can add an option to cut the graph to show just the actual charging? I left my phone connected to the charger a while after it was fully charged, so the time is wrong, and I really want to know how long it takes my phone to be fully charged .
Oneplus 3 on Resurrection Remix 5.8.1 20170207
https://i.imgur.com/s89B8e3.jpg
Related
Does anybody know if there is a Today Screen plugin which monitors the charging uptime?
History for my question:
I changed my car and the new Board Computer (BC) doesn't show the time from starting the engine (my previous car BC did it). It was a nice feature and so I thought this could be done by my PocketPC (MDAc) starting the uptime clock when I put it into my active Brodit holder in my car....
You could try this
You could try this software.
Looks good. Will try it. Thanx for your quick response.
I could find any setting in this application to start the clock when charging. Only reset the counter to zero when charging.
Any other apps?
No software available for my request?
sounds like a pretty specific program you want
maybe you should have somebody custom make it for you
seemed to be so.
but is a today screen which displays the charging time such a special thing?
donno never heard about it before
nor have i ever wanted for it before
Contactor-E - it could be written easily enough, but I'm afraid I have no time right now, setting up my website and finishing off another ton of stuff for you guys.
I assume that someone's written one, but I really can't think of one...
V
I will try to start programming my application...
I'll report here about my success.
Some of what you want may be displayed with Beemer's TodayWarrior:
http://personales.ya.com/beemer/todaywarrior1.htm
There are various toggle icons that show: battery %, elapsed time from last charge, charging, estimated remaining battery time, time to 100% charge, battery volts, current (mA), consumption (mW), temperature. There are also icons for power off, always on, etc.
However, I had problems with its WiFi monitoring side (this can be disabled). It would detect the WLAN, but then hang the application and Xda Exec. The extra WiFiKnife utility didn't work, however, my problems may have been because I ran it from SD-card - haven't had time to test further.
Thank you, but TodayWarrior does not support showing the charging time. Only "Charging" is displayed when connected on power.
here's one
it shows the charging time as well as the time running on batteries. also shows battery indicator and device active time (time the device is turned ON and not sleeping).
it can hide or change its size when running on batteries/charging to save screen space.
you can customize it separately for charging/batteries
see screen shorts
have fun.
edited:
CAB file removed, get the newer one below
Re: here's one
Slight slip up here, this file is actually a RAR-archive and NOT a ZIP-archive. After downloading it, rename the extension from .zip to .rar.
Re: here's one
astage said:
Slight slip up here, this file is actually a RAR-archive and NOT a ZIP-archive. After downloading it, rename the extension from .zip to .rar.
Click to expand...
Click to collapse
thanks, RAR did what I told it to do and not what I wanted it to do
Tried this on Windows Mobile 5, on the O2 Exec (Universal), and couldn't get it to do anything at all.
Hi zfiser!
Works GREAT !!!!!!!!!!! on my MDA compact !!!!
Wow!!!!!!!
Just installed but seems that this is the application I looked for!!!!!!!
Whrer did you find this app? Did you program it?
Do you know what the plugin number is for?
Thanks again!!!
Yes Works great on my Qtek 9100 under WM 5.0
Thanks for this app
The plugin number is to indicate the height you want for the plugin on the today page.
UPDATE
all right guys, since actually 3 people got it and 2 even got it working, I decided to spent some more hours on it. it's quite fun actually.
so, what is new?
1) AUTOSIZE - the plugin automatically decides its height based on your setting. You can still manually override it.
2) ACTUAL CHARGING TIME - now showing time it's plugged in to outlet and also time the battery was charged for. when the battery is fully charged the time stops and you can see how long it took to charge it.
3) ICONS! yea! I think that's pretty cool, saving you a lot of space on the screen while showing everything, plus it looks freaking awesome!
4) more options - the plug can turn itself to color red when the battery level falls under a certain percentage, set by you. now you can't overlook that your battery is almost dead
5) BUGFIXES, yea, that nasty bug not showing minutes, I noticed too, some minor tweaks
Checkout the screenshots! And have fun. And if you still miss something in this plugin (tetris, nude women, etc), let me know
IMPORTANT NOTICE: You MUST disable the plugin in TODAY screen setting (uncheck the checkbox) BEFORE upgrading. Make sure the plugin does not show on the Today screen before you upgrade!
I made the upgrade this morning => no problem
I just want to say that I had to make a soft reset after installation otherwise the plugin didn't show on today screen.
You've done big improvments since the first version
- good idea the icons to save place
- thanks for the autosize
- I'm going to test it this wee-end but no bug at this time
- what about a log file to keep trace of every data that zfTCT record ? Could be useful I think.
I have noticed on my OPO that the application "Battery Monitor Widget" doesn't appear to have access to accurate battery information, including the size and the recharge/discharge rate. Instead you have to configure it manually for the size and tell it to estimate the discharge/recharge rate. From a bit of testing, it doesn't even appear that the OS itself has a good view of the battery, where if you have enough applications drawing enough power, and not enough power feeding the phone, it won't even show as being connected to USB power, and it will estimate if it is on AC or USB power apparently based on how much the recharge rate is.
My first question is if anybody knows if this is a software only issue, where additional hardware support needs to come in an update. Alternatively, are there any other tools that allow accurate monitoring of power state? Thanks!
ebrandsberg said:
I have noticed on my OPO that the application "Battery Monitor Widget" doesn't appear to have access to accurate battery information, including the size and the recharge/discharge rate. Instead you have to configure it manually for the size and tell it to estimate the discharge/recharge rate. From a bit of testing, it doesn't even appear that the OS itself has a good view of the battery, where if you have enough applications drawing enough power, and not enough power feeding the phone, it won't even show as being connected to USB power, and it will estimate if it is on AC or USB power apparently based on how much the recharge rate is.
My first question is if anybody knows if this is a software only issue, where additional hardware support needs to come in an update. Alternatively, are there any other tools that allow accurate monitoring of power state? Thanks!
Click to expand...
Click to collapse
I noticed the same thing. Mah shows 0 usually. I was also looking for an alternative, but i guess an update will fix it.
Change the battery monitoring setting to reverse mA. You can also manually input the capacity of the battery.
Sent from my One using XDA Free mobile app
randaddy said:
Change the battery monitoring setting to reverse mA. You can also manually input the capacity of the battery.
Sent from my One using XDA Free mobile app
Click to expand...
Click to collapse
It may just be at random, but when I set reverse mA, I found that the system wouldn't go into deep sleep while charging, which slowed down charging significantly. I'm also pondering what this actually means (the reverse mA) as this implies it has data that it is reversing in some way.
ebrandsberg said:
I have noticed on my OPO that the application "Battery Monitor Widget" doesn't appear to have access to accurate battery information, including the size and the recharge/discharge rate. Instead you have to configure it manually for the size and tell it to estimate the discharge/recharge rate. From a bit of testing, it doesn't even appear that the OS itself has a good view of the battery, where if you have enough applications drawing enough power, and not enough power feeding the phone, it won't even show as being connected to USB power, and it will estimate if it is on AC or USB power apparently based on how much the recharge rate is.
My first question is if anybody knows if this is a software only issue, where additional hardware support needs to come in an update. Alternatively, are there any other tools that allow accurate monitoring of power state? Thanks!
Click to expand...
Click to collapse
I heard that "Kitkat" has changed their policy so that any battery monitor apps have no any more rights to read the figure of battery information.
But, the solution, as per what i experience, is to download Xposed Installer, and then there is a module named "Enable BATTERY_STATS for KitKat", download and activate it. After that, any apps with battery monitor function can be executed sucessfully.
wskenting said:
I heard that "Kitkat" has changed their policy so that any battery monitor apps have no any more rights to read the figure of battery information.
But, the solution, as per what i experience, is to download Xposed Installer, and then there is a module named "Enable BATTERY_STATS for KitKat", download and activate it. After that, any apps with battery monitor function can be executed sucessfully.
Click to expand...
Click to collapse
As of the newest CM 11S build and battery monitor widget, it appears the issues have been resolved, and the battery data appears to be more accurate. This may require root however.
And there is a helper app which you need to install. As far as I recall
Send from OnePlus One using Tapatalk
I'm still new on my mate 7 and I really wanna know all the details about the first picture attachment (what should I do exactly? Where are the pictures to download them?)
Regarding Emotion UI upgrade .. does anyone done it before and noticed any (disadvantage, disappointed results, decrease in battery life, Any improvement) over the default version comes with the phone?
Any suggestion would be helpful..
Thanks for reading, best regards ..
alkot said:
I'm still new on my mate 7 and I really wanna know all the details about the first picture attachment (what should I do exactly? Where are the pictures to download them?)
Regarding Emotion UI upgrade .. does anyone done it before and noticed any (disadvantage, disappointed results, decrease in battery life, Any improvement) over the default version comes with the phone?
Any suggestion would be helpful..
Thanks for reading, best regards ..
Click to expand...
Click to collapse
#1 is an update package for the magazine lock screen that changes the set of images that are randomly displayed on your lock screen. If you want to keep the current images, you have to save them in the lock screen by swiping up from the bottom and tapping the heart icon. Otherwise they'll be erased by the update.
As for the fw update, I'm on fw 137 for the L09, so I can't comment.
vonotny said:
#1 is an update package for the magazine lock screen that changes the set of images that are randomly displayed on your lock screen. If you want to keep the current images, you have to save them in the lock screen by swiping up from the bottom and tapping the heart icon. Otherwise they'll be erased by the update.
As for the fw update, I'm on fw 137 for the L09, so I can't comment.
Click to expand...
Click to collapse
Can you please show me a screenshot how to do this? Just one screenshot and I will follow it
alkot said:
Can you please show me a screenshot how to do this? Just one screenshot and I will follow it
Click to expand...
Click to collapse
If you have the magazine lockscreen activated and set it to automatically change the background image (by tapping the "play/pause" button), swipe up from the bottom of the screen and tap the "heart" button to save an image permanently. This way, it won't be lost when you install the updates.
As vonotny told you, you can save the pictures you like by pressing on the heart icon. After that you can move them in another folder if you like. When they make an update with other pictures, older pictures ( not all I think ) are erased. I saved it all of them and move it in another folder and in my computer.
As for the EMUI update, all I can tell that when I bought the phone I made the update from the B120 version that you also have to B125 and the only downside it's that I doesn't show more than 30 hours in Ultra power plan. IN B120 version it shows up to 60 hours. You can check it out to confirm if you like.
Anyway that it's not real important because the baterry life it's great but if your phone it's new you must have patients the battery life will increase with every new charge. Also don't let your phone discharge completely, if you want your battery to last longer
Battery care
The battery's capacity will decrease rapidly if it is not used for more than 6 months. Do not leave the battery idle for long periods.
Wherever possible, use the battery charger provided to charge the battery.
Do not wait until the battery level is low before charging. Try to charge the battery whenever you can to prolong its lifespan.
Avoid using the phone when it is charging.
After the battery is fully charged, promptly disconnect the battery charger. Charging the battery for too long may reduce the lifespan of the battery and charger.
Do not subject the battery to high or low temperatures or large temperature fluctuations. This reduces the lifespan of the battery.
Click to expand...
Click to collapse
If you want to do the update of EMUI and after that you don't like it you can downgrade to original version manually. But you must be carefull. From what region are you?
You can choose you region from http://consumer.huawei.com website and take a look of the latest firmware for your phone under download tab
You can Read this also and other topics:
http://forum.xda-developers.com/mate-7/general/battery-ultra-power-saving-mode-t3074893
http://forum.xda-developers.com/mate-7/help/mt7-tl10-europe-version-reset-to-stock-t3061559
Enjoy you new phone!
vonotny said:
If you have the magazine lockscreen activated and set it to automatically change the background image (by tapping the "play/pause" button), swipe up from the bottom of the screen and tap the "heart" button to save an image permanently. This way, it won't be lost when you install the updates.
Click to expand...
Click to collapse
Thanks VM Vonotny,
I've done the samething, the reason i been requesting a screenshot that i didn't see (Magazine Screen-lock even during unlocking the phone because i was using Fingerprint + PIN that doesn't show's the Magazine Wallpapers directly when pressing Lock button on the phone) .. So i stopped the Security Fingerprint and activate the "privacy protection" mode and it worked .. I'm able to use Fingerprint + PIN + Magazine Wallpaper
Now I've pressed "Heart Button" on all wallpapers, should i do anything els? I've my own photos in the gallary, are they going to be deleted?
Thanks for your reply tho!
Regards,
alexre123 said:
As vonotny told you, you can save the pictures you like by pressing on the heart icon. After that you can move them in another folder if you like. When they make an update with other pictures, older pictures ( not all I think ) are erased. I saved it all of them and move it in another folder and in my computer.
As for the EMUI update, all I can tell that when I bought the phone I made the update from the B120 version that you also have to B125 and the only downside it's that I doesn't show more than 30 hours in Ultra power plan. IN B120 version it shows up to 60 hours. You can check it out to confirm if you like.
Anyway that it's not real important because the baterry life it's great but if your phone it's new you must have patients the battery life will increase with every new charge. Also don't let your phone discharge completely, if you want your battery to last longer
If you want to do the update of EMUI and after that you don't like it you can downgrade to original version manually. But you must be carefull. From what region are you?
You can choose you region from http://consumer.huawei.com website and take a look of the latest firmware for your phone under download tab
You can Read this also and other topics:
http://forum.xda-developers.com/mate-7/general/battery-ultra-power-saving-mode-t3074893
http://forum.xda-developers.com/mate-7/help/mt7-tl10-europe-version-reset-to-stock-t3061559
Enjoy you new phone!
Click to expand...
Click to collapse
Hey alex,
You've talked about important thing that i am really want to know about and been looking for
1st. Battery Life
A) I've got the phone on stock EMUI B120 version, and directly start testing the battery life,
(I.) The Maximum Screen On Time = 7h 44m 50s (NO LTE, WIFI ON, BROWSING, WHATSAPP, Clash of Clan) Battery level were 3%
_ So, Running Clash of clan for too long really drain the battery life like super faster
_ Another Screen On Time = 8h 56m 49s, Battery level were 4%, Without intense CoC game.
(II.) Then, I tried to use combination of Ultra Mode & Smart Mode (I'm using Ultra-Mode when i attend university lectures, driving, swimming with friends, things that i basically won't use the phone in smart-mode), while (Using Smart-mode in break time between the lectures, OR when i use it sometimes during the lectures itself, Waiting Someone, etc..)
- I think as results shows that it significant last the phone battery life longer in case if you just don't need to recharge every time every night, as Screen On Time = 5h 45m 46s, Battery discharged since = 2d 13h 19m 18s, Remained level = 23% this percent has extra time of (Ultra-mode 15h OR Smart-mode 7h) as shown in pictures in attachment
2nd. Battery Lifespan
A) Actually i'm keep using the phone until the battery life drain to 3-7% then i switch off the phone before sleeping and plug it in the power adapter, I think some peoples say this way is the best, (Phone is switched off = no background apps running, battery level really does prolong with you more than the ordinary way of charging the phone as I've tried it myself with Samsung Galaxy Note phone as an old experience)
B) The first 50% of battery charging took around 1 hour exactly to be filled faster in the first 50% and total of 2-3 hr for 100% Complete charge.
C) The only drawback is under heavy battery consuming games, such as Clash of Clan (CoC) doesn't last more than 5-6 hr or might be maximum of 7 hours but no more, even without clash of clan and under normal screen on time you wouldn't get more than 9hours doing basically ordinary things such as (WIFI, browsing, whatsapp, open game & close it quickly, calling, watching videos, playing musics etc...).
3rd. AnTuTu Benchmark v5.6.3
_ Take a look into the picture in attachment that is all i know about Benchmark (i'm not experienced on those apps like other people)
4th. Huawei Official Website to download the Rom
_ Actually my region is (UAE) so i can't basically get the ROM I've done what you've said and when click on Phone model > Support > Download ==> I got a white page in the middle of the website showing nothing neither in "Download page" Nor "Manual Page" ,, All i need is to get the orginal ROM that came with my phone which is "B120 version" just in case i didn't like the upgrade of "B123 version" that i got in OTA at the moment! I Would be appreciated if you knew any idea about this or a way to take backup of ROM from my phone directly!
5th. Regarding the Two-XDA Links
First Link ==> It seems to be firmware "B125" does have a problems in showing Maximum battery life in Ultra-mode and Smart-mode while phone charged to 100%, so i will keep away from it as I only have "B123 version available to download but i don't know if it shows the same as B125"!!
second Link ==> Yes, the guy is lucky to get his "Switherland ROM version for LT-10 Model" but i don't see mine when i changed the "Region" as well as I've also commented in the post before but still he didn't replied to me ..
Overall, I'm really appreciate your work by sharing your experience with EMUI Updates and Battery life and Span Guideline .. :good:
Best regards,
has anyone worked out how to use their own photos in magazine unlock?
edit: found it. Swipe up
Please read the following before installing the app:
This app requires a rooted mobile (Android 4.0 or later)
Before uninstalling the app, disable limit in the app (if forgotten, reboot after uninstalling)
Usage instructions and app details:
Enable limit in the app
Change the limit up to which it should charge (default: 80)
Check which control file suits best for your device, see Q/A section below for hints. In most cases, the pre-selected choice should be the best that's available for your device.
The app only gets kicked in while you connect a charger (or USB), and automatically closes shortly after unplugging charger (or USB) i.e it only runs in the background as long as it is plugged in, and won't affect your battery life.
If your device is not charging even after disabling the limit (which shouldn't happen, just in case), uninstall the app and reboot the device (The changes made by the app don't survive a reboot). Your device should charge normally then.
If the app says "your device is not yet supported"
There are various control files in different devices (due to OEMs), and toggling the values in them (0 and 1) makes it possible to enable and disable charging via software (might not be possible for every device), though the charging cable is still physically connected.
Since we cannot own every device, it is impossible for us to find every file. We can support a lot more devices with information provided by testing possible files on different devices by you, the people in the community.
Hence, for support to be provided to other devices, you need to do some detective work to find the files on the respective devices. Please refer to this file for control files of currently supported devices, so you can know where they are generally present: https://github.com/sriharshaarangi/BatteryChargeLimit/blob/master/app/src/main/res/raw/control_files.json
You can send us a pull request or open an issue on GitHub. If necessary, you can also post the name of the device and the file here.
FAQ
Q) Can you please add support for... (insert arbitrary device name here)?
A) Maybe, but we need your help. Bottom line, this app does nothing but modifying the content of a certain "control file", some more details are given above. If you find such a control file for your device, please let us know (ideally, open a GitHub issue here: https://github.com/sriharshaarangi/BatteryChargeLimit/issues) and we will add support for your device.
Q) I think I observed a bug. Can you fix it?
A) We'll do our best, but we need your help: Please open an issue on GitHub (https://github.com/sriharshaarangi/BatteryChargeLimit/issues) and provide as much information as possible about the problem.
In most cases, we need the "logcat" logs of your device to find out about the exact issue. In order to provide those, you could use aLogcat (https://play.google.com/store/apps/details?id=rs.pedjaapps.alogcatroot.app).
FOR CHARGING-RELATED ISSUES: Select the "Time" format in the preferences of aLogcat, so we can see precise timings, and filter for "(Charging|Power) State" with "Apply as regular expression" ticked.
FOR CRASHES: Please also select the "Time" format and provide unfiltered logcat data that includes the stack trace of the crash.
Q) Why do you want to limit charge to a lower capacity?
A) In short, to prolong battery life in long term usage. For more information, refer this : http://batteryuniversity.com/learn/article/how_to_prolong_lithium_based_batteries
Q) How does this app work? Does it modify something in the ROM/Kernel to stop charging?
A) It writes "0" or "1" to a control file that represents some state of the power supply hardware, as simple as that. The file is normally read-only, so you need root to overwrite it.
The change might be automatically reversed by the OS if the power supply situation changes. Anyway, it should never survive a reboot of the device.
Q) I can select multiple more than one control file in the radio group. Which one should I use?
A) For most devices, battery_charging_enabled or store_mode are preferable. Try those first and see if it works. If you observe any bugs, try another file.
Q) I have a OnePlus device, and the app doesn't work correctly for me. What to do?
A) Check that the control file you selected is NOT battery_charging_enabled! Although it should be preferred in general, there are known issues for this file with OnePlus devices.
Q) I use the store_mode on a Samsung device. My device always stops charging at 70 % (or other specific percentage), no matter what limit I have set.
A) The store_mode implementation differs among the supported (Samsung) devices.
Normally, it freezes the level at the current percentage when store_mode is triggered until the cable is unplugged for some seconds. This is a normal condition due to Samsung's kernel implementation, it's not a bug of this app.
If this is a problem for you, try to switch to another control file (e.g. batt_slate_mode), if supported.
Q) How does the "automatic stats reset" work?
A) The automatic reset should perform a stats reset when your power supply is removed while the battery level is within the desired range. Everything else is wrong behavior.
Q) No matter if I the "automatic stats reset" is enabled or not, my phone is always resetting my battery statistics. Why?
A) Are you using a threshold above 90%? If yes, your ROM will most likely clear the stats when the power is removed. There is nothing we can do about that.
Downloads:
The app is available on Google Play Store
Alternate APK download links:
v1.1.1: https://www.androidfilehost.com/?fid=674106145207486851
v1.1.0: https://www.androidfilehost.com/?fid=817906626617956614
v1.0.4: https://www.androidfilehost.com/?fid=889764386195927297
v1.0.3: https://www.androidfilehost.com/?fid=745425885120755941
v1.0.2: https://www.androidfilehost.com/?fid=889764386195923345
v1.0.1: https://www.androidfilehost.com/?fid=889764386195919111
v1.0.0: https://www.androidfilehost.com/?fid=817550096634789023
v0.11.0: https://www.androidfilehost.com/?fid=961840155545580765
v0.10.0: https://www.androidfilehost.com/?fid=961840155545576298
v0.9.2: https://www.androidfilehost.com/?fid=457095661767160082
v0.8.2: https://www.androidfilehost.com/?fid=673368273298951679
Please uninstall versions < 0.8 before installing this!
Changelog:
1.1.1:
Fix charging status layout issues and misc UI fixes @xdnax
Added switch to disable toasts on service changes @xdnax
Added switch to show temperature in notification @xdnax
Ensuring write permissions on the charging control file @real_milux
Fixed notification sound on limit reach @sriharshaarangi
Fixed a bug causing crash
Added Russian translation
Updated Bengali, German and Brazilian Portuguese translations
Added control file for Amazon Tate (LineageOS 14.1)
1.1.0:
UI & icon redesign @xdnax
Custom control file data support @xdnax
Improved control file lists @real_milux
ICS (Android 4.0, API 14) compatibility @real_milux
Pixel/Pixel 2 support fixes @xdnax
Added control files for Pixel/Pixel 2, Xiaomi Redmi Note 2, Sony XPERIA Mini, Le 1s, Huawei P10 lite, HTC One, Motorola Defy+, Xiaomi Mi A1
Bengali translation @AdroitAdorKhan
Spanish translation @Joseahfer
Lots of bugfixes and minor improvements
1.0.4:
New "always write" setting for devices that modify their control files in a problematic way
Experimental support for Xiaomi MiPad 2, Nexus 5, Nexus 9, Galaxy Nexus (maguro) and Xiaomi Mi6
1.0.3:
Fixed service starting after boot when disabled
1.0.2:
Fixed ignoring "ACTION_POWER_CONNECTED" when service was disabled
Experimental support for Nexus 10, Nvidia Shield and Xiaomi Mi6
1.0.1:
Added preference to disable limit enforcement aka "state fixing"
Added expert preference to enable immediate reaction to power state events (be careful!)
1.0.0:
Tested Magisk 13.x support
Improved UI
Even higher service priority (against being killed by Android)
Online limit change support (limit changeable while service is active)
Settings with control file selection and temperature scale
Fahrenheit temperature info support
Greatly improved "state fixing" with exponentially increasing delay (hopefully fixing GitHub issue #15 aka "rapid cycling")
Greatly improved SU shell speed/performance
German translation
0.11.0:
Improved UI (Using NumberPickers, GitHub issue #13)
Show voltage and temperature in app and notification (GitHub issue #14)
0.10.0:
The recharge threshold can now be customized between 0 and the chosen charging limit
Sending a charging limit of 100 via (broadcast) intent will disable the service.
Sending values between 40 and 99 will enable and start the service if it was previously disabled.
0.9.2:
Fixed crash on some devices that are unrooted or unsupported
0.9.1:
Fixed widget not showing in some devices
0.9:
Added Widget to toggle service
Added scrollable view
0.8.2:
experimental Amazon Fire support
0.8.1:
Bugfixes
0.8:
State check after boot (starting monitoring service as necessary)
Bugfixes
0.7:
Experimental support for Huawei and Nexus 4 devices
Support for external control over charging limit
Bug fixes
0.5
Ability to select recharge limit (Range: 10%)
Automatic file selection
Added store_mode for Samsung devices
Added option to auto reset stats
(Huge code refactoring)
0.3
Updated to support 7.1.1
Auto-select the battery charging file for Samsung, Pixel and Nexus devices
Added clear battery stats button
Auto-whitelisting from Doze mode
XDA:DevDB Information
Battery Charge Limit, App for all devices (see above for details)
Contributors
harsha1397, real_milux
Source Code: https://github.com/sriharshaarangi/BatteryChargeLimit
Version Information
Status: Stable
Current Stable Version: 1.1.1
Stable Release Date: 2018-10-17
Current Beta Version: 1.0.4
Beta Release Date: 2017-09-04
Created 2017-02-15
Last Updated 2020-08-05
Todo:
- Check for charging on device boot
- Widget for quick toggle
- Widget to reset batterystats
- Limit reached alert
- Low battery alert - Needs a service running in the background
- UI overhaul
- on/off switch to enable/disable charging
I can't believe it. You can't imagine how long I was looking for such an app .
Will try it!
I remember this was a feature that some kernels had years ago, and I would limit the charge to 85%. On my laptop I can cap it to 60%, which is great because I leave the charger in often.
Anyway, thank you for making this app!
Freezy202 said:
I can't believe it. You can't imagine how long I was looking for such an app .
Will try it!
Click to expand...
Click to collapse
Ace42 said:
I remember this was a feature that some kernels had years ago, and I would limit the charge to 85%. On my laptop I can cap it to 60%, which is great because I leave the charger in often.
Anyway, thank you for making this app!
Click to expand...
Click to collapse
Did you get a chance to test it? Is it working as expected?
harsha1397 said:
Did you get a chance to test it? Is it working as expected?
Click to expand...
Click to collapse
Unfortunately it does not work as it should :/. It doesn't really limit. Even when I unplug the notification doesn't go away as you mentioned.
I have a HTC One M8, android 6.
Freezy202 said:
Unfortunately it does not work as it should :/. It doesn't really limit. Even when I unplug the notification doesn't go away as you mentioned.
I have a HTC One M8, android 6.
Click to expand...
Click to collapse
Does the battery percentage continue to rise beyond the limit? Regarding notification, it doesn't immediately go away after unplugging. It goes away after the percentage drops 3% below the limit. It is to ensure that the phone again charges to the limit if the phone is still plugged in. If it is not plugged in, then notification closes.
very good idea, thanks for app, was looking for app like this for a long time will report in half hour if app works
thanks!I always was searching such an app cause:
1)I read if u charge your battery till 80% it will last more time..
2)At the end of the day,I always have 40% battery left and I cant trust my phone for the next day without charge.
Thanks again It works on my moto x play!It stopped at 79% but its ok not such a big deal!
ok, so it worked, but first time, when i unpluged and pluged app didn't noticed pluging and continued charging. after that i tried several times and it worked again. so there should be somewhere bug in monitoring pluging charger sometimes is left unnoticed.
Sent from my ONE A2005 using Tapatalk
harsha1397 said:
Did you get a chance to test it? Is it working as expected?
Click to expand...
Click to collapse
Seems to work on my LeEco Pro 3. Charging icon switched to normal battery at 80%.
This is what I have been looking for!
Thank you for the app!
I tried it and its stop charging after 95% ?
Im on xperia z5 Nougat.
But the notification doesnt go away when I unplug the charger's cable from the phone.
Turning off the app but did make the notification disappear.
Another question.
Does it really stop the charger from giving electricity to our phone?
Or does it only change the charging status?
Im scared that the app tells that it stopped charging, but the electricity is still going on.
Gesendet von meinem E6653 mit Tapatalk
Can somebody explain to me, why someone would want to limit the charging current?
chitose_ndy said:
This is what I have been looking for!
Thank you for the app!
I tried it and its stop charging after 95%
Im on xperia z5 Nougat.
But the notification doesnt go away when I unplug the charger's cable from the phone.
Turning off the app but did make the notification disappear.
Another question.
Does it really stop the charger from giving electricity to our phone?
Or does it only change the charging status?
Im scared that the app tells that it stopped charging, but the electricity is still going on.
Gesendet von meinem E6653 mit Tapatalk
Click to expand...
Click to collapse
1. Regarding notification, (I have updated the OP as well):
The app only gets kicked in while you connect a charger (or USB), and automatically closes shortly after unplugging (not immediate, it closes after percentage drops more than 3% below the limit because the app doesn't know whether the cable is physically connected or not, since we disable charging at the limit. So, after it drops below 3% and (a)the charger is still connected, it charges again to the limit, and (b)if it is disconnected, then the notification closes) .
So, it is not a bug.
2. Does it really stop the charger from giving electricity to our phone?
It actually stops charging at the limit. It is in the same way any phone automatically stops charging when the battery reaches 100% capacity.
Freddy1X said:
Can somebody explain to me, why someone would want to limit the charging current?
Click to expand...
Click to collapse
tl;dr : To prolong battery life in long term
For more information: http://batteryuniversity.com/learn/article/how_to_prolong_lithium_based_batteries
harsha1397 said:
Does the battery percentage continue to rise beyond the limit? Regarding notification, it doesn't immediately go away after unplugging. It goes away after the percentage drops 3% below the limit. It is to ensure that the phone again charges to the limit if the phone is still plugged in. If it is not plugged in, then notification closes.
Click to expand...
Click to collapse
Exactly. It continues to charge.
Freezy202 said:
Exactly. It continues to charge.
Click to expand...
Click to collapse
Weird. Seems to work on other devices.
harsha1397 said:
Weird. Seems to work on other devices.
Click to expand...
Click to collapse
Is it possible that some kernels aren't compatible with this, or even certain SoCs? I have a Kindle Fire with a mediatek, so I'll test the app on there later.
harsha1397 said:
Weird. Seems to work on other devices.
Click to expand...
Click to collapse
Maybe I'll try another kernel. Anyway I wanted to change my rom . Actually it's always the other way around. Other people have Bugs except me, this time I have no luck haha.
Ace42 said:
Is it possible that some kernels aren't compatible with this, or even certain SoCs? I have a Kindle Fire with a mediatek, so I'll test the app on there later.
Click to expand...
Click to collapse
I don't know the reason(I don't think this is kernel dependent), but this file is the key: /sys/class/power_supply/battery/charging_enabled
It should be 1 by default. And when it reaches the limit, the value is made 0 by the app.
I don't understand this feature at all. After reading this article http://www.xperiablog.net/2020/06/01/xperia-1-iis-hs-power-control-feature-bypasses-battery-charging-to-maximise-gaming-performance/ I thought it will allow me to play games for as long as I want without depleting the battery. I've tried charging with this feature turned on 2 times now, and both times the battery level was dropping., so where's that battery degradation reduction they write about?
Furthermore, H.S. power control supposedly prevents the battery from charging, but during both tests, Franko Kernel Manager was showing that the battery was charging, not in a usual way though. Speed was going back and forth between charging rapidly (as fast as 6000 mA) and charging slowly (as slow as 12 mA).
"Limits performance reduction and battery degradation caused by device overheating during charging. The battery doesn't get charged when this feature is on. Turn off this feature when charging". So you launch a game, go through the game enhancer's features, and see this confusing AF wording, which tells you the feature prevents overheating while charging and gaming, but at the same time tells you not to turn it on while charging and gaming.
I use this feature when navigating. I was happy that it's not only available for games. Worked well. At least battery level didn't changed after some hour drive. Didn't checked it with Franco kernel Manager.
You selected the App and the colored bar appeared when App was in use?
Undead_Son said:
I don't understand this feature at all. After reading this article http://www.xperiablog.net/2020/06/01/xperia-1-iis-hs-power-control-feature-bypasses-battery-charging-to-maximise-gaming-performance/ I thought it will allow me to play games for as long as I want without depleting the battery. I've tried charging with this feature turned on 2 times now, and both times the battery level was dropping., so where's that battery degradation reduction they write about?
Furthermore, H.S. power control supposedly prevents the battery from charging, but during both tests, Franko Kernel Manager was showing that the battery was charging, not in a usual way though. Speed was going back and forth between charging rapidly (as fast as 6000 mA) and charging slowly (as slow as 12 mA).
"Limits performance reduction and battery degradation caused by device overheating during charging. The battery doesn't get charged when this feature is on. Turn off this feature when charging". So you launch a game, go through the game enhancer's features, and see this confusing AF wording, which tells you the feature prevents overheating while charging and gaming, but at the same time tells you not to turn it on while charging and gaming.
Click to expand...
Click to collapse
Must be a bug, works fine on my phone though....try resetting the phone perhaps?
Phoost said:
I use this feature when navigating. I was happy that it's not only available for games. Worked well. At least battery level didn't changed after some hour drive. Didn't checked it with Franco kernel Manager.
You selected the App and the colored bar appeared when App was in use?
Click to expand...
Click to collapse
Yes, the enhancer works, just not exactly as advertised.
yekollu said:
Must be a bug, works fine on my phone though....try resetting the phone perhaps?
Click to expand...
Click to collapse
I've spent quite some time on customizing the phone, installing apps etc. so I'd rather not start all over again. Unless there won't be any custom ROMs for a very long time...
it is a bug. if you still have problem. or other people have a problem there a way to fix it without factory reset. if your phone running android 12 or android 11. BUT not lasted firmware(of the android version.). try to download lasted version of Game enhancer(i recommended version 7.x.x instead version 8.x.x, because it more stable on 7, but if you rooted or can install subsystem apk, you can go with lasted version and i more recommended to do so to get more feature), subsystem and monitor apk from apkmirror, dont worry all app have same Game enhancer logo. if you have android lasted android 11 or android 12 firmware, only download Game enhancer and monitor app, as subsystem has been set to persistent app. and cannot be updated. if you are rooted download all app i mention and install as system app then reset your phone. im using xperia 1 ii with version 7.0.A.1.20 game enchaner as my original version came with my firmware have bug and H.S does not work as intended. whoever updated it does fix the problem(you can see with most battery monitor app that charging switch from -x/+x to null or 0) whoever not installing subsystem and lasted monitoring app from cause :
1.powersaver or balance does not effect anymore(but switch to Power save allow phone to use 600-700mah more often, and performance while have same usage sometimes spike to 1000mah sadly the display stay at 60hz, this is not intended as using original app power are limitied to 400-650 while average around 480mah with 40hz display)
2.while congrats you can streaming from you phone now, unless subsystem installed you may only have 1 chance to screenshot thumbnail until you reset user data. as importing image or re screenshot not working without newer subsystem. but at least all stream function working fine as i test it for 1 hours nonstop(just make use you have atleast 20-30mbps UPLOAD as lower than that cause stuttering on youtube even on 480p stream)
3.it may or may not disable/bypass thermal throttling while gaming(cant confirm but on my phone using original apk will give me around 280gips max then down to around 160 or 180gips under 5 minutes while using update version will stay more than 300gips, on CPU Thrttling, same as 3d mark, while normal benchmark average, extended test will have better result than most xperia on same model with 99.5% stability and score around 1108 to 1106 from loop 1 to loop 4 with identical performance range from loop 1 to loop 20)
4.recording no longer work on sdcard as they change folder name and older subsystem still using older name, it just keep asking permission
5.on stream and record menu. there option for capture card. it does nothing, even installing another backend app. like audio app from G.E and other app, it still wont work, unless you are rooted and install all backend app as system app, whoever fearnot, you stil can stream your content via type c to hdmi like normal, but dont except you can get audio bypass or settings like xperia 1 IV have,
*again point 3 is unclear as for me performance from older bencmark are deference than now, but it is from era android 11, i can be sony fix thermal issue and performance from firmware and not this trick, but it does effect mine since i can just remove update and see instantly the deference and it may can on your xperia too
*i said both monitoring/monitor app and subsystem app. because it called that but apk file name uploaded as sony multitasking function and GE subsystem
here a proof for point number 3, and not it not with any mod(no fan cooler but no case either with H.S enabled)
Hello,
You can add custom apps to H.S. Power Control right?
Only supported apps or ALL apps installed?
Does that also work if you turn the screen off? or does the phone start charging as soon you you turn the screen off?