Hey all, I'm looking for something in Tasker that would let me preserve the battery in a phone that I use as a clock in the bedroom. I have already blown through two batteries because the phone is always plugged in (Can't have the clock stop working because the battery is dead). I'm looking to regulate charging, maybe charging to 90% and then letting it get down to 10% or so before charging again.
Is this possible in Tasker? I would assume that it is, but I'm not sure. I like using the phone for a clock due to its wide range of options, so I'm not switching, but I obviously don't want to keep ruining batteries(Luckily this happens to be a phone with both an AMOLED screen and a removable battery.).
Any help would be greatly appreciated. Thanks!!