Skip to content

Commit 7f58dbc

Browse files
committed
chore: remove avg current battery consumption during sleep
1 parent c0d4761 commit 7f58dbc

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/battery_v4.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ pub async fn battery_read_task(i2c: SharedI2C, state: crate::state::GlobalState)
2828
let mut last_sent = Instant::now();
2929
loop {
3030
if sleep_state() {
31-
let ma = gauge.average_current().await.unwrap_or(0);
32-
log::info!("avg current: {ma}mA");
3331
Timer::after_millis(500).await;
3432
continue;
3533
}

0 commit comments

Comments
 (0)