Last full charge on battery settings page doesn't update
Created by: utsavgh2
- Device: Pixel 3a
- Channel: stable
- Build: OTA-21
Steps to reproduce
When the last full charge was at least one hour ago, return to battery settings page (under Battery in the System Settings app) after up to an hour of last viewing it
Expected behavior
Last full charge should be updated (as is the charge level graph)
Actual behavior
Last full charge shows the level as of when the page was last viewed
To update the level, hit back and then hit the Battery icon, returning to the battery page
Logfiles and additional information
This works on the Nexus 5 (running OTA-21, stable). The problem probably also happens when the phone was last charged under an hour ago; I haven't tested it when the timing between updates in measured in minutes (or even seconds)
This issue may well be related to the QML Timer issue (https://github.com/ubports/ubuntu-touch/issues/1934)