Open cinnyboy opened 1 month ago
This would certainly be possible, but the Android SDK doesn't expose anything. We can estimate it ourselves, but the question then becomes, "how"? Simply dividing energy by power technically works, but would exhibit a lot of variability. Some kind of moving average probably makes more sense, but then which one? Hmm...
Default Android algorithm is surprisingly precise, at least in my case. I think if possible, it would be best to try and emulate it. That's what I would suggest. I hope there will be more users interested in such functionality, who will eventually chime in.
Is it possible to implement an estimated time left in the wattz notification? I think it would be really helpful to have this information and not jump deep into Android battery settings.