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 88
88
# Path to script executed when Android Auto session starts/stops and EV battery data is needed
89
89
# Argument "start" or "stop" is appended automatically when invoked
90
90
# 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 {
141
141
dhu : bool ,
142
142
ev : bool ,
143
143
ev_battery_logger : Option < PathBuf > ,
144
+ ev_battery_capacity : u64 ,
145
+ ev_factor : f32 ,
144
146
}
145
147
146
148
impl Default for AppConfig {
@@ -172,6 +174,8 @@ impl Default for AppConfig {
172
174
dhu : false ,
173
175
ev : false ,
174
176
ev_battery_logger : None ,
177
+ ev_battery_capacity : 22000 ,
178
+ ev_factor : 0.075 ,
175
179
}
176
180
}
177
181
}
You can’t perform that action at this time.
0 commit comments