Fix issue where low battery alert is fired on reboot when batter is 10%

This commit is contained in:
Simon Fondrie-Teitler
2025-09-21 16:05:58 -04:00
committed by Cooper Quintin
parent 1b5575e5a6
commit f3c34ce0d3

View File

@@ -71,7 +71,7 @@ pub fn run_battery_notification_worker(
error!("Failed to get battery status: {e}");
true
}
Ok(status) => status.level < LOW_BATTERY_LEVEL,
Ok(status) => status.level <= LOW_BATTERY_LEVEL,
};
loop {