Added informative print.

This commit is contained in:
Eduard Tolosa 2019-03-30 09:09:17 -05:00
parent bbf536fd6d
commit b5f01807d0
2 changed files with 1 additions and 0 deletions

Binary file not shown.

View file

@ -28,6 +28,7 @@ fn main() {
let execution_time = execution_time * 1000;
let tick = schedule_recv::periodic_ms(execution_time);
println!("You are going to {} your system if the battery level is equal or less to {}% and the check is done every {} seconds.", &args[3], bat_discharging_action, execution_time/1000);
loop {
tick.recv().unwrap();
battery_critical_action(bat_discharging_action, &args[3]);