Bug 382908

Summary: Energy page: graph interpolates with straight lines across regions of no data, which is weird and misleading
Product: [Applications] kinfocenter Reporter: Vishnu <vishnugb>
Component: generalAssignee: Kai Uwe Broulik <kde>
Status: CONFIRMED ---    
Severity: minor CC: nate, null, opensource, sitter
Priority: NOR Keywords: usability
Version: 5.10.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Straight lines across regions of no data of energy consumption

Description Vishnu 2017-07-29 18:37:05 UTC
Created attachment 106955 [details]
Straight lines across regions of no data of energy consumption

If it so happens that the machine was turned off for a period and switched on again later, the 'Energy Consumption' graphic just draws a straight line joining the two points. But that is plain wrong. It should show 0 consumption for that period.
Comment 1 Mathieu Jobin 2021-01-10 11:22:14 UTC
I somewhat agree it could be improved. But how? it's unclear.

Maybe a different colour? something visual that shows when no data is found.

0 isn't more true than a straight line.

when the computer is turned off, energy is unlikely to change by a lot, unless it's being charged.

anyway, the library will report the new numbers and a straight line in drawn...

I guess current behaviour is very good. 
maybe add data points on the line?