DateTime since put on charging
Closed this issue · 2 comments
nata1993 commented
DateTime element showing date and time when phone was put on charge is constantly being refreshed to "now" while phone is being charged.
Running watt v1.7.
dubrowgn commented
I've been looking at different ways to solve this over the past few days. A working solution is actually quite complicated, so I may end up removing the feature for now.
dubrowgn commented
45e16a4 fixes this by making the StatusService own "ChargingSince". As long as the indicator is present, it will know when the phone is plugged or unplugged.
Available: https://github.com/dubrowgn/wattz/releases/tag/v1.8