Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Attempt to fix high CPU load on some laptops (issue #43) #44

Merged
merged 1 commit into from
Jul 14, 2024

Conversation

VorpalBlade
Copy link
Owner

Cache current brightness and only write if it is different:

  • If hardware monitoring is supported, just cache it outright (and monitor both HW and SW files).
  • If hardware monitoring is NOT supported, just cache it for 1 second.

Cache current brightness and only write if it is different:

* If hardware monitoring is supported, just cache it outright (and monitor both HW and SW files).
* If hardware monitoring is NOT supported, just cache it for 1 second.
@VorpalBlade VorpalBlade force-pushed the feature/avoid_unneeded_writes branch from e75a457 to 89f74a2 Compare July 14, 2024 06:35
@VorpalBlade VorpalBlade merged commit 89f74a2 into main Jul 14, 2024
12 checks passed
@VorpalBlade VorpalBlade deleted the feature/avoid_unneeded_writes branch July 14, 2024 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant