Fixed Limited data resolution for previous days
Changing the resolution from 150 to -1 allows viewing of all data present. I think it's a good solution because the data to show are generated by upower and are small in size. Furthermore, a time window is always defined, so only the data generated in that period of time will be displayed
That number defines the resolution or the approximate number of points to display. however, to do this does not distribute the density of points equally causing the display of all the recent data, but very little data on the older ones.
Upower records the charge data every 3 min and 45 seconds (16 per hour) so you could put a value equal to 2688. (16 × 24 × 7) so as to always show a correct value in the weekly view
However in the "Rate" graph about 60 values are recorded per hour, so you could change the value to 10080 (60×24×7 minutes in a week).