fablabbcn / smartcitizen-web

The Smart Citizen Kit platform
https://smartcitizen.me
GNU Affero General Public License v3.0
13 stars 7 forks source link

"Battery not connected" status #400

Closed tuengominh closed 5 years ago

tuengominh commented 5 years ago

Hi @viktorsmari

This close issue #369

If battery value = -1, I hide 'battery' in the chart and report above that battery is not connected.

Before:

Screen Shot 2019-07-29 at 6 05 26 PM

After:

Screen Shot 2019-07-29 at 6 04 35 PM

Thanks,

viktorsmari commented 5 years ago

@tuengominh Does this mean if you have a battery for 1 year, and you take out the battery today, you are not able to see what the battery level was 2 months ago?

Is the battery chart hidden from you, and all it's history, when you unplug it?