[APP][ROOT][4.0+]Battery Charge Limit v1.1.1

Search This thread
G

GuestK00132

Guest
<removed because not a question anymore...>
 
Last edited:

theking37

Member
Apr 24, 2016
15
3
Hi. Been using this program and find it useful but have been experiencing a new issue on my rooted Xiaomi Redmi Note 5. It will stop charging when reaching the limit I assign to it but if I leave the charger plugged in, it will start charging again a few hours later well above the low limit I selected. Do I need a special control file for my particular phone or something?

Where you able to get this fixed?
 

NexusRunner

Senior Member
Sep 13, 2013
56
45
After limit is reached here, it disables normally, but then when I disconnect the cord, it does not disable it self, and stay on the notification bar, I have to go there and disable it manually, and the toast saying it's disabled appear. I think it should do it when I disconnect, right? Is it a know problem?
It's normal behavior. On some devices this app works by virtually disconnecting the charging cable, then it won't detect physical [dis]connection until that virtual switch is reset. So it has to wait in the notification area until recharge limit is reached before flipping the switch back and exit itself.
 

POMF2K

Senior Member
Jan 2, 2009
154
20
Traverse City, MI
After limit is reached here, it disables normally, but then when I disconnect the cord, it does not disable it self, and stay on the notification bar, I have to go there and disable it manually, and the toast saying it's disabled appear. I think it should do it when I disconnect, right? Is it a know problem?

I am having the exact same issue and it's driving me insane. On my previous Xperia X Compact, the notification would disappear when i disconnected the device. Now I'm using an Xperia XZ1 Compact and it stays on after disconnecting the cord. The only difference I can think of is that my new device is rooted via magisk instead of supersu.

The thing is when i click the notification to disable it... I'm pretty sure it resets the battery stats too.

Very strange. Is there something I can do to correct this?
 

POMF2K

Senior Member
Jan 2, 2009
154
20
Traverse City, MI
I am having the exact same issue and it's driving me insane. On my previous Xperia X Compact, the notification would disappear when i disconnected the device. Now I'm using an Xperia XZ1 Compact and it stays on after disconnecting the cord. The only difference I can think of is that my new device is rooted via magisk instead of supersu.

The thing is when i click the notification to disable it... I'm pretty sure it resets the battery stats too.

Very strange. Is there something I can do to correct this?

So... nobody knows?
 
There are a lot of different implementations for the powermanagement and a lot of different control files. What works on stock kernel may not work on custom kernels for the same device, what works on N may not work on P and vice versa. So you are on your own. Mostly it so sinple and stupid as to check whether changing one control file (in /sys/classes/...) will have any result and if not proceed with the next one.
It would be helpful if everybody would report his device, ROM version, kernel version, control file used on success...
 
  • Like
Reactions: post-mortem

justjr

Senior Member
Mar 24, 2013
984
485
39
Cuiaba
Samsung Galaxy A21s
I don't think there's any other way for the app to know if power is connected after it sets battery_state to 0. So, does this works for anyone at least? Or it is specific to sony battery-slate different files maybe?
 

POMF2K

Senior Member
Jan 2, 2009
154
20
Traverse City, MI
There are a lot of different implementations for the powermanagement and a lot of different control files. What works on stock kernel may not work on custom kernels for the same device, what works on N may not work on P and vice versa. So you are on your own. Mostly it so sinple and stupid as to check whether changing one control file (in /sys/classes/...) will have any result and if not proceed with the next one.
It would be helpful if everybody would report his device, ROM version, kernel version, control file used on success...

I'm using preconfigured control files on my devices. I have noticed they are different.

On the Xperia X Compact (working), it is using the Nexus battery_charging_enabled. This was rooted with SuperSU.

On the Xperia XZ1 Compact (not clearing notification when unplugged after reaching maximum charge threshold, but does clear when not fully charged and unplugged), it is using the Universal charging_enabled. This was rooted with Magisk. I also do not have the option for the Nexus control file. Any ideas?
 
Last edited:

hgmichna

Senior Member
Aug 28, 2010
982
402
Munich
michna.com
Service stays active after disconnecting the charger

After limit is reached here, it disables normally, but then when I disconnect the cord, it does not disable it self, and stay on the notification bar, I have to go there and disable it manually, and the toast saying it's disabled appear. I think it should do it when I disconnect, right? Is it a know problem?

I have had that too on my OnePlus One with LineageOS 15.1 and the built-in root. But I have had it only very occasionally, possibly when I moved the micro-USB-plug and caused a disconnect, rapidly followed by a reconnect, followed by the final disconnect, but I'm only guessing. Most of the time the disconnection works perfectly well, and the service along with its notification disappears.

If this happens always on your phone, then there is most likely a different cause.
 

fassal

Senior Member
Dec 1, 2017
82
13
Hi,

I am trying to find the control file for my Huawei Ideos X5 or U8800. Actually my ROM by Blewfish has his app called "Huawei Settings" which is able to set the current to 0mA (effectively disabling charging) and to different values to enable charging. Would such a file work too with Battery Charge Limit? I am currently trying to find that file with no luck so far, see also here.

Thank you!
 

post-mortem

Senior Member
Oct 4, 2012
2,158
774
Hi,

I am trying to find the control file for my Huawei Ideos X5 or U8800. Actually my ROM by Blewfish has his app called "Huawei Settings" which is able to set the current to 0mA (effectively disabling charging) and to different values to enable charging. Would such a file work too with Battery Charge Limit? I am currently trying to find that file with no luck so far, see also here.

Thank you!

It's mostly trial and error to find the right control file. You might get a better answer by asking in the thread for your ROM. You might also ask if the ROM allows for such changes to be made programmatically, like through a terminal command, or via an intent. If so, you could do everything through Tasker.
 

lklaus

Senior Member
Jan 27, 2013
269
87
Fairphone
since going to LOS 15.1 (Oreo), battery charge limit often crashes when plugging in:
Seems these are the relevant messages:
10-16 13:52:22.564 30259 30259 E AndroidRuntime: java.lang.RuntimeException: Unable to start service [email protected] with null: java.lang.IllegalArgumentException: Parameter specified as non-null is null: method com.slash.batterychargelimit.ForegroundService.onStartCommand, parameter intent
10-16 13:52:22.564 30259 30259 E AndroidRuntime: Caused by: java.lang.IllegalArgumentException: Parameter specified as non-null is null: method com.slash.batterychargelimit.ForegroundService.onStartCommand, parameter intent
10-16 13:52:22.564 30259 30259 E AndroidRuntime: at com.slash.batterychargelimit.ForegroundService.onStartCommand(Unknown Source:2)
10-16 13:52:27.007 30466 30466 E AndroidRuntime: Process: com.slash.batterychargelimit, PID: 30466
10-16 13:52:27.007 30466 30466 E AndroidRuntime: java.lang.RuntimeException: Unable to start service [email protected] with null: java.lang.IllegalArgumentException: Parameter specified as non-null is null: method com.slash.batterychargelimit.ForegroundService.onStartCommand, parameter intent
10-16 13:52:27.007 30466 30466 E AndroidRuntime: Caused by: java.lang.IllegalArgumentException: Parameter specified as non-null is null: method com.slash.batterychargelimit.ForegroundService.onStartCommand, parameter intent
10-16 13:52:27.007 30466 30466 E AndroidRuntime: at com.slash.batterychargelimit.ForegroundService.onStartCommand(Unknown Source:2)
 

real_milux

Senior Member
Sep 7, 2015
92
202
Version 1.1.1 "clean release"

since going to LOS 15.1 (Oreo), battery charge limit often crashes when plugging in:
Seems these are the relevant messages:

Those crashes have been fixed in April and version 1.1.1 published on Google Play Store in May.
So the fixed version was available in the Play Store for some months already, but it was a "quick-and-dirty-release" since we didn't update tags, OP, F-Droid...
Sorry for the inconvenience everybody, I tried to put this right today and hope that everybody will get the new version ASAP.

[Link: https://www.androidfilehost.com/?fid=11410932744536981974]

Edit: APK seems to be corrupted, use the APK of @sriharshaarangi instead: https://www.androidfilehost.com/?fid=674106145207486851
 
Last edited:

Wenro

Senior Member
Oct 10, 2014
110
22
Sweden
Samsung Galaxy S21
Thanks for this! Using it and will continue to do so, especially when getting a new phone.

Question, I read so much about the charge limit and recommendations to be around 80%. I have mine set to 97%, just to keep it clear from 100%.

Is this bad? I want to have the most amount of charge when I head off to work in the mornings, and 80-85% just doesn't cut it. Is it still fine with those types of batteries?

Thanks again, great app!

Regards
 

VR25

Senior Member
Apr 20, 2013
1,978
4,833
github.com
Thanks for this! Using it and will continue to do so, especially when getting a new phone.

Question, I read so much about the charge limit and recommendations to be around 80%. I have mine set to 97%, just to keep it clear from 100%.

Is this bad? I want to have the most amount of charge when I head off to work in the mornings, and 80-85% just doesn't cut it. Is it still fine with those types of batteries?

Thanks again, great app!

Regards
This is not as bad as 100%, but it's pretty close!

Keep in mind, though, what matter most are battery temperature, voltage and charging current.

You have to keep your battery as cool as possible (not freezing, of course) and make sure its voltage doesn't stay high for too long (or doesn't touch/pass the high threshold at all).

Since you're letting your battery charge to 97% capacity, at least refrain from using fast charging!Use a regular/old-fashioned adapter instead, or even better, charge on USB only. The lower (not less than 500mA) the charging current (amperage) is, the better.

High current, voltage and temperature reduce battery lifespan much more that simply charging to near full or full capacity.
 
Last edited:

Wenro

Senior Member
Oct 10, 2014
110
22
Sweden
Samsung Galaxy S21
This is not as bad as 100%, but it's pretty close!

Keep in mind, though, what matter most are battery temperature, voltage and charging current.

You have to keep your battery as cool as possible (not freezing, of course) and make sure its voltage doesn't stay high for too long (or doesn't touch/pass the high threshold at all).

Since you're letting your battery charge to 97% capacity, at least refrain from using fast charging!Use a regular/old-fashioned adapter instead, or even better, charge on USB only. The lower (not less than 500mA) the charging current (amperage) is, the better.

High current, voltage and temperature reduce battery lifespan much more that simply charging to near full or full capacity.

Great information, thank you so much ?

Sent from my Sony E5823 using XDA Labs
 

justjr

Senior Member
Mar 24, 2013
984
485
39
Cuiaba
Samsung Galaxy A21s
Thanks for this! Using it and will continue to do so, especially when getting a new phone.

Question, I read so much about the charge limit and recommendations to be around 80%. I have mine set to 97%, just to keep it clear from 100%.

Is this bad? I want to have the most amount of charge when I head off to work in the mornings, and 80-85% just doesn't cut it. Is it still fine with those types of batteries?

Thanks again, great app!

Regards

As in the OP: http://batteryuniversity.com/learn/article/how_to_prolong_lithium_based_batteries
Educate yourself in why would you want to charge less. The information is out there, use for your benefit only. Don't be a slave of it, if you need more charge, do it You will get less lifetime on your battery, but at least the phone will be fulfilling it's purpose. But, if you have a power bank or another battery, you may still live in both worlds.
You'll find info about temprature voltage and all that jazz there. Is the source.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    I finally got the idea to search for mmi_charging_enable under the sys folder. I thought since it's the same OS it could exist somewhere. Turns out it does exist in /sys/devices/virtual/oplus_chg/battery and with that I was finally able to make the phone stop charging.
    Thank you.
    /sys/devices/virtual/oplus_chg/battery/mmi_charging_enable looks to be working for the OnePlus Nord n200 running lineage 19.1 (Android 12L). 1 for enable, 0 for disable.

    For some reason the "BatteryChargeLimiter" fork by MuntashirAkon crashes on the n200 when trying to enable but the the original BatteryChargeLimit app works.
    1
    I've been super happy with this app for years on my Pixel 4XL but I recently upgraded to a Pixel 7 Pro.
    After a bunch of digging and reading, I was able to get this app working with my Pixel 7 Pro / Cheetah.
    (This will also work with the Pixel 7 / Panther, Pixel 6 Pro / Raven, and Pixel 6 / Oriole. I'm also expecting it'll work with the Pixel 6a / Bluejay.)

    The Pixel 7 uses a different method of controlling charge state, with the file containing the battery % the charge should run to and stop at.
    Instead of a binary, I set the Enable value to 100. I set the Disable value to 10 for my own peace of mind, but it could be set as low at 1.
    Control file is at /sys/devices/platform/google,charger/charge_stop_level

    These values work for both wired and wireless charging.

    Cheers!
  • 398
    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
    57
    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
    38
    Announcement: Official Version 1.1.0, welcome @xdnax!

    Hello everybody,

    it has been quite a while since I wrote my last post here. The reason for this is rather simple:
    Apart from being very busy in the last months, I realized some time ago that I was investing more time in reading and answering posts in this thread than doing actual implementation work for BCL, which is definitely not my intended workflow.
    Therefore, I shifted my attention completely to GitHub, where the workflow was/is much more efficient.
    Some people here suggested to officially fork this project and continue it elsewhere. I want to say the following to those people:
    While it is in general a good thing that dead projects are forked and continued, good behavior demands to first open a GitHub issue asking whether the project is to be continued before suggesting an official fork, which did afaik not happen.
    Furthermore, a simple look at GitHub would have clearly revealed at all times that I was reacting to issues there on a regular basis, so our project was hardly inactive, and surely not dead!
    Luckily, @xdnax was considerate and smart enough to keep mentioning that he wants to respect our work and keep his fork unofficial for the moment, which deserves a huge THANK YOU from my side!

    Talking about @xdnax:
    He did a great job in contributing to the development of this app during the last months.
    Unfortunately, I didn't have his contributions on my radar for quite a while.
    Since we love to work with other motivated and decent developers like him, we are happy to announce that he is now the third "official developmer" of BCL.
    Welcome to the team, @xdnax!

    Some people noticed the appearance of a semi-official version 1.0.5.
    Although I never had time to publish an official build, I indeed created this version and uploaded it with a "v1.0.5" tag to our GitHub repo.
    This is where the F-Droid build system picked it up and created an APK from it, which I myself wasn't aware of for some while. Sorry for the confusion guys...

    During the last days, we organized our internal communication and unified our contributions to bring out a new official version.
    Well, here we go: I'm happy to announce that we finally release version 1.1.0!
    Link: https://www.androidfilehost.com/?fid=817906626617956614
    Please don't get confused about the numbering: This release includes all improvements of @xdnax and more, and is not a major version step because it doesn't introduce any breaking behavior changes.
    Happy charging, opening post will be updated soon!

    Changelog:
    • 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
    • Lots of bugfixes and minor improvements
    22
    Source code: https://github.com/sriharshaarangi/BatteryChargeLimit
    App v0.3: https://www.androidfilehost.com/?fid=745425885120716170
    Changelog:
    - Updated to support 7.1.1
    - Auto-select the battery charging file for Samsung, Pixel and Newus devices
    - Added clear battery stats button
    - Auto-whitelisting from doze
    19
    Update to version 1.1.1

    This is mainly a bug fixing update, with loads of improvements. Should reduce crashes as well.
    Download link: https://www.androidfilehost.com/?fid=674106145207486851
    The update will be available on Play Store soon[UPDATE: Now available]
    Changelog:
    • Fix charging status layout issues and misc UI fixes @xdnax
    • Added (i) Switch to disable toasts on service changes (ii)Add switch to show temp. 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
    • Other minor fixes