[APP][ROOT][4.0+]Battery Charge Limit v1.1.1 - Android Apps and Games

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.

Related

Battery Monitoring

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

[App][4.1+] Charger Extras (Out of beta ! )

Hi Guys.
I need help for testing a new app I've been working on.
It's an app that's truely "set and forget", that makes your smartphone even smarter.
When you're tired and just wants to sleep, plug in your phone to the charger and BAM the clock app is there, ready for you to set the alarm.
It will do various tasks when you plug in a charger, eg:
Open an app you define
Activate daydream (Screensaver) after a certain interval
Enable silent mode
Enable flightmode (Requires root)
Reboot phone after certain interval (Requires root)
Go to homescreen when charger is unplugged
Play sound when charger plugged/unplugged
Sound when charger plugged/unplugged
The reboot functionality is especially useful if you (like me) forget to reboot your phone sometimes. All Android phones run low on memory over time, and a reboot is the most effective way to avoid this.
This app won't run unless the phone is in charger = Next to none impact on battery life.
Reasons for app permissions:
MODIFY_AUDIO_SETTINGS - To be able to set silent mode
BIND_DREAM_SERVICE - To be able to start DayDream (On Android 5.0+)
RECEIVE_BOOT_COMPLETED - To know when the app rebooted the device (and act accordingly)
What do you think guys? Anything you will use?
If you have any suggestions/feature requests please don't hesitate to mail me at [email protected] or put an answer below- I'm fully open to new suggestions and they are very welcome.. :victory:
Installation
Install the app from Google Play
Thanks! :victory: :laugh: :highfive:
XDA:DevDB Information
Charger Extras, App for all devices (see above for details)
Contributors
dthomasen
Version Information
Status: Alpha
Current Stable Version: This is an app is tr
Created 2015-06-26
Last Updated 2015-06-26
Testing. Suggestions:
1. Optional notification sound/vibration when plugged/unplugged.
2. Optional notification sound/vibration when: a) full charged; b) unplugged and bellow certain battery level.
3. I think it must have a timer to activate the airplane mode (not all the times we charge that it should be enabled..., perhaps only at night).
Technical said:
Testing. Suggestions:
1. Optional notification sound/vibration when plugged/unplugged.
2. Optional notification sound/vibration when: a) full charged; b) unplugged and bellow certain battery level.
3. I think it must have a timer to activate the airplane mode (not all the times we charge that it should be enabled..., perhaps only at night).
Click to expand...
Click to collapse
Thanks, I'll add them to my upcomming feature list..
I just pushed a new release to Google Play
Changelog:
Declare superuser permission in manifest
Dialog boxes for root settings
Timer for flightmode
Sound when charger plugged/unplugged
I've approved the app for production.
Installation is now only to install from Google Play..
Enjoy guys
Thanks, but the airplane mode is (yet) to be more flexible.
If some other features come, I'll be able to uninstall other apps that has "similar" functionality, for instance:
1. Battery temperature on notification.
2. Options for not warning sound while headphones are connected, or while in call.
Seems a promising app. Thanks.
Technical said:
Thanks, but the airplane mode is (yet) to be more flexible.
If some other features come, I'll be able to uninstall other apps that has "similar" functionality, for instance:
1. Battery temperature on notification.
2. Options for not warning sound while headphones are connected, or while in call.
Seems a promising app. Thanks.
Click to expand...
Click to collapse
What more flexibility do you want in the airplane mode?
You're thinking battery temperature when charging only? Or all the time?
dthomasen said:
What more flexibility do you want in the airplane mode?
Click to expand...
Click to collapse
I want to start airplane mode only when charging overnight. If any charge starts the airplane mode, I'll lose calls and messages in the middle of the day. I'm an intensive user of the phone. I need to charge frequently, not only overnight. You've add the option (timer) to start airplane mode after some seconds, but it would be good, imho, if we have a period (from time to time) where the airplane mode is started. Charging outside of this period won't trigger the airplane mode.
dthomasen said:
You're thinking battery temperature when charging only? Or all the time?
Click to expand...
Click to collapse
The more configurability the better: if the user can chose for a permanent notification, it will help to keep the app alive.
I myself would like to set a temperature level when it reaches a predefined temperature.
Technical said:
I want to start airplane mode only when charging overnight. If any charge starts the airplane mode, I'll lose calls and messages in the middle of the day. I'm an intensive user of the phone. I need to charge frequently, not only overnight. You've add the option (timer) to start airplane mode after some seconds, but it would be good, imho, if we have a period (from time to time) where the airplane mode is started. Charging outside of this period won't trigger the airplane mode.
The more configurability the better: if the user can chose for a permanent notification, it will help to keep the app alive.
I myself would like to set a temperature level when it reaches a predefined temperature.
Click to expand...
Click to collapse
Ahh like that.. I'll add it to the upcomming feature list.
Expect an update sometime next week.
Thanks. :highfive:
New version submitted to Google Play..
Should show up in a couple of hours
Changelog:
- Restructured with material UI drawer
- Soft reboot type implemented
- Set when app should be active (Time of day)
- Flurry integrated
New version submitted.
Changelog:
- Fixed time activation when using times on opposite sides of midnight
- Ability to set independent sound for plug and unplugging
- Added feature to set minimum screen brightness when charging
- Added feature to launch app when unplugging (Useful for morning news reading )
Enjoy
Just submitted a new version - With a very requested feature
Changelog:
- Activate based on charger type:
- Wireless
- USB
- AC
Enjoy.

[App][4.4+][1-8-'21] Charge Monitor 1.6.3

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

[APP][4.0+] EXA Battery Saver - First solution to save battery using science

Every electronic device in this world required power to stay functional, including Android. However, sometimes battery draining could be too fast. Unused app keep running in the background, wifi keep on while not using, device temperature is too high, etc
Finally here come a live saver.
EXA Battery Saver is the first solution to save battery power by using AI, science and system tweaking
Features mark with # required Root Access.
Features :
Device Tuning :
#ROM Optimize :
ROM optimize is a feature that minimize the writing to storage by using fstrim, and also remounting the file systems with noatime and nodiratime flags to archive battery saving and improve device performance.
#Core Tuning :
Core Tuning is a feature that could set CPU Governor to the mode you need, such as performance, balance, or powersave.
#Lightning Charge :
Lightning Charge could speed up battery charging by set the CPU frequency to minimum value during charging. This could obviously improve the speed of charging but would also temporary decrease the performance of device.
#Application Hibernator :
If you have used app like Greenify before, you might have familiar with this feature. Yes, this feature prevent unused apps from running in background by using Android built in Force-Stop feature (am force-stop).
Service Stopper :
Service stopper is design to view and stop running service by using Android system built-in Force Stop feature, available in both root and non-root mode.
Smart Settings :
#Smart GPS :
When this feature is turned on, application would automatically turn off GPS when device's screen turned off, and turn it back on when device's screen is unlocked.
#Smart Cellular :
When this feature is turned on, application would automatically turn off mobile data when device's screen turned off, and turn it back on when device's screen is unlocked.
*Smart Wifi :
When this feature is turned on, application would automatically turn off wifi when device's screen turned off, and turn it back on when device's screen is unlocked, user can also choose not to turn off wifi when device is connected to an existing wifi router by turn on the Wifi Protection feature.
*Smart Sync :
When this feature is turned on, application would automatically turn on Sync for specified time and turn it off for specified time. By Default, the Application TURN ON SYNC 5 MINUTES FOR EVERY 1 HOUR, user can also set custom time base on their needs.
*Smart Brightness :
When this feature is turned on, application would automatically adjust device screen brightness base on the battery level to archive battery saving.
*Smart Sound :
Note: This feature may not working on some device. When this feature is turned on, the application will mute some unnecessary sound effect that will drain battery without changing the main sound and call volume of device. User could choose the type of sound to mute :
System Sound: Sound for keyboard button, back button, home button, etc.
Notification Sound: Sound when received notification
Charging Optimization :
*Power Charging :
This feature could speed up battery charging by limited some features of device during charging, recommend only enable this option when you are not using your device during charging.
Others :
*Extra optimization :
When this feature is turned on, the application will auto adjust some additional feature to help you save more battery power.
Download Link :
EXA Battery Saver
Important :
1. This application could work in both rooted device and non-rooted device. Application would automatically restrict some features on non-rooted device.
2. Beta and Alpha testing is not available, only stable release are provided.
3. Before posting a bad review at the play store if you encounter an issue, please report the problem in this thread, I will investigate it and solve it as fast as I could
Bug Report and Feature Request :
Bug reported are always welcome.
Note: Not all requested features would be approved.
If the requested features are approved, they would be appear in the In Research Features located below.
In Research Features :
#Automatic Discharge :
Since I have study a lot about battery while making this app, I have found out that charging battery level to 80% is better than 100% . This feature is used to discharge the device when battery level reach selected value, currently I am investigating this code :
Code:
dumpsys battery unplug
Thanks for reading.
XDA:DevDB Information
EXA Battery Saver, App for all devices (see above for details)
Contributors
EXA Lab
Version Information
Status: Stable
Current Stable Version: 1.7.100
Stable Release Date: 2018-02-16
Created 2017-12-27
Last Updated 2018-02-16
The app looks very interesting, thank you! I would be happy if you could explain what you wrote here:
EXA Lab said:
#Automatic Discharge :
Since I have study a lot about battery while making this app, I have found out that charging battery level to 80% is better than 100% .
Click to expand...
Click to collapse
Why is that? Do you have a source?
TheeWolf said:
The app looks very interesting, thank you! I would be happy if you could explain what you wrote here:
Why is that? Do you have a source?
Click to expand...
Click to collapse
Here & here.
mauam said:
Here & here.
Click to expand...
Click to collapse
Yes, thats what I want to say, thanks
Does it required root on Android 7 device...?
DE SEXIEST said:
Does it required root on Android 7 device...?
Click to expand...
Click to collapse
No, it does not require root access to run, but it will be more powerful and functional with root access
The application has been updated to 1.7.000 :
Status: Stable
Current Stable Version: 1.7.000
Stable Release Date: 2018-02-14
Update Info:
The application have been renamed to EXA Battery Saver
This update fix all problem that cause application to crash, improve the stability of application and include a new feature.
New Feature:
*Advanced Settings:
Enable user to tweak advanced function of applications, please use with caution.
Thanks for supporting, more function could be expected soon
EXA Lab said:
The application has been updated to 1.7.000 :
Update Info:
The application have been renamed to EXA Battery Saver
Click to expand...
Click to collapse
welcome back!
been using the old app - never a single problem :highfive:
q: does the hibernator allow push notifications like rooted-greenify?
crullick said:
welcome back!
been using the old app - never a single problem :highfive:
q: does the hibernator allow push notifications like rooted-greenify?
Click to expand...
Click to collapse
Thanks for supporting :fingers-crossed:
a: No it does not, but you have give me a new idea, I would try to investigate it :highfive:
Dont know sometimes its hard to selecting menu..because when i moved tab to tab, sometimes it still showed previous tab
Does this app needs network to work properly?
raymondsanusi said:
Dont know sometimes its hard to selecting menu..because when i moved tab to tab, sometimes it still showed previous tab
Does this app needs network to work properly?
Click to expand...
Click to collapse
Could you please explain what showed previous tab means?
No it does not require network
EXA Lab said:
Could you please explain what showed previous tab means?
No it does not require network
Click to expand...
Click to collapse
This happen a lot when connection is slow or not connected..
raymondsanusi said:
This happen a lot when connection is slow or not connected..
Click to expand...
Click to collapse
Thanks for pointing out this problem, I have publish a new version name 1.7.100 with performance improvement :highfive:

H.S. power control

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?

Categories

Resources