diff --git a/rog-control-center/src/update_and_notify.rs b/rog-control-center/src/update_and_notify.rs index 7a9bf25b..d3662863 100644 --- a/rog-control-center/src/update_and_notify.rs +++ b/rog-control-center/src/update_and_notify.rs @@ -374,11 +374,13 @@ pub fn start_notifications( } } if let Ok(mut lock) = page_states1.lock() { - lock.gfx_state.power_status = status; lock.set_notified(); } - last_status = status; } + if let Ok(mut lock) = page_states1.lock() { + lock.gfx_state.power_status = status; + } + last_status = status; } sleep(Duration::from_millis(500)).await; }