battery improvements and pc start
This commit is contained in:
7
battery_plot.py
Normal file
7
battery_plot.py
Normal file
@@ -0,0 +1,7 @@
|
||||
import plotly.express as px
|
||||
import pandas as pd
|
||||
from pathlib import Path
|
||||
|
||||
df = pd.read_csv(Path(Path.home(), "data/battery_monitor.csv"))
|
||||
fig = px.line(df, x="time", y="percent", title="Battery Charge over Time")
|
||||
fig.show()
|
||||
Reference in New Issue
Block a user