File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 8888 # Path to script executed when Android Auto session starts/stops and EV battery data is needed
8989 # Argument "start" or "stop" is appended automatically when invoked
9090 # ev_battery_logger = "/usr/bin/some_script"
91+
92+ # Traction battery capacity [Wh]
93+ ev_battery_capacity = 22000
94+
95+ # Some unknown parameter - change this to have a correct range (u2->u3)
96+ ev_factor = 0.075
Original file line number Diff line number Diff line change @@ -141,6 +141,8 @@ pub struct AppConfig {
141141 dhu : bool ,
142142 ev : bool ,
143143 ev_battery_logger : Option < PathBuf > ,
144+ ev_battery_capacity : u64 ,
145+ ev_factor : f32 ,
144146}
145147
146148impl Default for AppConfig {
@@ -172,6 +174,8 @@ impl Default for AppConfig {
172174 dhu : false ,
173175 ev : false ,
174176 ev_battery_logger : None ,
177+ ev_battery_capacity : 22000 ,
178+ ev_factor : 0.075 ,
175179 }
176180 }
177181}
You can’t perform that action at this time.
0 commit comments