https://bugs.kde.org/show_bug.cgi?id=387366

--- Comment #19 from wincak <win...@seznam.cz> ---
Original reporter here.
Please try changing the data range to the longest "Last 7 days" and refresh.
Also try unplugging the power supply and wait for some time. The refresh again.
In my case the graphs always appear.

I believe the problem is that the system (upower?) only logs battery charge
level changes. Then when you ask the system for data for a certain time
interval, it only gives you data if there was any change in that interval. For
example if you have laptop charger plugged in permanently and then try to view
history for the last hour, there is no change, thus no reported data and the
"This type of history is currently not available for this device"
message is displayed.

As for charge percentage, judging by the current behaviour, only data points
returned by the system for the displayed time interval are used to plot the
chart (see attached pic). This is not a correct behaviour. At all times the
current charge should be included as well and used at least with the latest
stored data point in history to plot a line. The last recorded data point
should be looked up even if it's outside of the currently displayed time
interval.

This logic might be applied even to energy consumption chart.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to