Linked Questions

30 votes
5 answers
138k views

How to limit charging to a user defined limit? [duplicate]

My UleFone Armor 2 has a 4700mAh battery and I would like to limit the charging to 60% to reduce battery aging. The batteries in most of the phones are not user-replaceable and I am worried that a ...
neverMind9's user avatar
31 votes
2 answers
13k views

Don't charge the battery but use connected power to run the phone

Answers to this question Is power consumed from battery to run the phone when charging? explain how charging while phone is in use does both - charging the battery and powering the on going activities....
beeshyams's user avatar
  • 40.3k
19 votes
3 answers
17k views

Ideal charging / discharging percentage for maximum battery life?

One of my friends has a relatively new Samsung smartphone. He has this app that notifies him whenever the charging is up to 80%, and tells him to unplug the charger. He tells me that it will increase ...
Fiksdal's user avatar
  • 1,211
2 votes
2 answers
3k views

How do I override charging current on Huawei Honor 6?

On SonyEriccson Xperia X10i I do this: echo 1000 > /sys/devices/platform/msm_hsusb/gadget/chg_current This allows faster charging from computer's USB port (if I know it can source more than 500mA)...
Vi0's user avatar
  • 1,665
2 votes
1 answer
2k views

How to automate command line when specific application is launched?

So basically I want to run a few line of code each time a specific application is launched and closed. Is there application which could do that ? (Busybox ?) I actually have to print it my self in ...
Baldráni's user avatar
  • 125
0 votes
0 answers
1k views

Android control battery charge programmatically

I'am using a Linage Android image (rooted) to control the battery charge and discharge with the commands: Charge: echo 0 > /sys/class/power_supply/battery/batt_slate_mode Stop charging: echo 1 >...
João Paulo's user avatar
0 votes
1 answer
1k views

Power management : Configuring Battery cutoff voltage

I've been looking so far without any result yet. What and where are the configuration files editable to change anything about the power management, specifically, the cutoff voltage ? Any hints will ...
J.Jacobs's user avatar
  • 141
1 vote
1 answer
840 views

How to write to an Android system file?

Why is writing to /sys/class/power_supply/battery/status having no effect? Accessed manually via adb shell as root, eg echo "Discharging" > /sys/class/power_supply/battery/status does not ...
adatum's user avatar
  • 113
0 votes
0 answers
786 views

Shell: get battery voltage_now if power were not connected

I am trying to make my device stop charging (echo 0 > /sys/class/power_supply/battery/charging_enabled, the easy part) when the battery's voltage reaches 3920000 µV. Using cat /sys/class/...
Brian's user avatar
  • 121
1 vote
1 answer
421 views

Change battery meter behavior

I heard that charging li-ion batteries to less voltage value heavily increases number of (charge-discharge) cycles, while decreasing phone work time(energy return from charge) only for a little. ...
xakepp35's user avatar
  • 109
0 votes
1 answer
177 views

What can I do to slow down battery degradation of portable power bank for my Android phone?

I just got Inland USB-A 5,200mAh Power Bank w/ LED Indicators for my android phone. It has a one-year warrantee, which seems to tell that its battery might degrade significantly after one year of ...
Tim's user avatar
  • 485
2 votes
1 answer
126 views

control charging for Samsung Galaxy S3 that is in charger 24/7

I have Samsung Galaxy S3 in the charger 24/7, so it's not good for battery. How can I set charging so that the phone spends battery to say 30% before charging it to full?
miiks's user avatar
  • 21
2 votes
1 answer
72 views

Is there a way to configure always-plugged-in android devices to partially change battery or NOT stay fully charged?

So I’ll apologize in advance as I’m an iPhone user for mobile and Linux for work/desktop - Android is mostly unfamiliar territory to me. I’ve recently set up 3 or 4 android devices (a various ...
ljwobker's user avatar
  • 121