The Best 'Fast Pair' Bluetooth Headphones for Your Android Device Nexus 6P Battery Randomly Dying? It's Not Just You Silent Facebook & Messenger Server Update Brings Fast Draining Battery with High Temperatures Google's Battery Issues Seem to Be Affecting Pixel Users, Too Properly Calibrate the Battery on Any Android Phone Galaxy S5 Battery Dies Too Fast? Here's Why & How to Fix It Man Takes Apple to Court, Claiming iPhone Started House Fire This utility has finally made Google's Battery Historian accessible to the masses with an easy-to-use interface, which means we can now get an insane amount of battery data to ultimately pinpoint the cause of Android battery drain. That's when developer bobobo1618 stepped in and created a tool of his own to handle the complicated backend stuff. But this utility is incredibly hard to use, as it requires several complicated terminal commands to even get running. Understanding this, Google created a tool called Battery Historian that interprets data from a bug report to give you tons of information about battery drain. But a lot of times, battery-sucking services will get lumped under the generic "Android System" header, and even though you can see when your CPU was awake, you can't exactly see why. You can see which apps have been using the most power, and you can tell when your CPU was awake or asleep, among other things. Lastly, there are apps on the play store that are made exactly for this, but I would recommend getting such a current indicating usb-cable and checking if they really do what they say and are not just mocking.Android's stock battery menu is pretty decent. You can always charge it in recovery mode and then boot up and change the value again (or change it while in recovery if your recovery gives access to adb). So its not like your device will end up dead if you forget to turn on charging again. And it turns out that during boot and in recovery, the charging just works. One more thing, I also tested what it does in recovery (twrp) and during boot. So you could use a combination of this and adb shell dumpsys battery unplug / reset to make it look better, but the problem is that then apps like tasker don't know whether you have ac power or not, so you can not put triggers for that when you've set it to unplugged. This works, I checked with my current metering usb cable, but it does not show that it works in the battery status icon. If you write that to an executable file /data/setcharging.sh then you could call the script like /data/setcharging.sh 0 to disable or So you could make a script that you can use in tasker(if you have root):Įcho $1 > /sys/devices/qpnp-charger-14/power_supply/battery/charging_enabled For example, for my yotaphone 2 with a snapdragon 805 there is a file: /sys/devices/qpnp-charger-14/power_supply/battery/charging_enabled It only changes what applications think about the state, so for example google play would not start updating if you have configured that it can only update when charging.Ĭhanging the value of a file like /sys/devices/battery.XX/power_supply/battery/hv_charger_set to 0 does really work but its a different file for every device. I checked with a current indicator on my usb cable and this does not change the amount of flowing current at all so the battery is still charging. BEWARE: adb shell dumpsys battery unplug only MOCKS the battery status.
0 Comments
Leave a Reply. |