Skip to content

Commit

Permalink
Update powerkit_manager.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
rodlie committed Feb 6, 2024
1 parent a466725 commit d1bb487
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/powerkit_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ void Manager::propertiesChanged()
emit SwitchedToAC();
}
}
wasOnBattery = OnBattery();
wasOnBattery = isOnBattery;

deviceChanged();
}
Expand Down

0 comments on commit d1bb487

Please sign in to comment.