work in progress battery monitor

This commit is contained in:
Florian Bezannier
2020-12-26 12:44:32 +01:00
parent 25368293ca
commit f501d67ed6
+3 -1
View File
@@ -427,10 +427,12 @@ class MyPSACC:
logger.debug("position already saved")
finally:
conn.close()
#todo handle battery status
if charging_status is "InProgress":
#create a new line
pass
elif charging_status is "Stopped" or "Finnished"
elif charging_status is "Stopped" or "Finished":
pass
@staticmethod
def get_recorded_position():