dahliaOS/pangolin_desktop

Battery mode is shown before the current battery % is loaded.

whiskeyPeak opened this issue · 1 comments

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

Opening the quick settings overlay shows the battery tile initially show the the battery performance mode only to be replaced by the battery percentage after the future has loaded. This looks a little jarring.

simplescreenrecorder-2023-06-10_05.36.44.mp4

Expected behavior

Show the percentage from the start. One way to do this would be to load the future when the desktop starts up and collect that value. Might wanna use streams to continuously update the value as well.

Steps to reproduce

No response

Environment (values that do not apply assign with "N/A")

- OS: DahliaOs - main branch
- Device: xps 9500

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
HrX03 commented

This has been fixed with the rework of the power service and of the battery indicator