-
Notifications
You must be signed in to change notification settings - Fork 763
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
Buggy handling of battery critical action setting by the cinnamon settings UI #11983
Comments
Alright. I'm not a dev, but I can try my best to help you :)
Let me know if you need other help :) |
thank you for trying to help, really appreciated. but the UI is misbehaving, not my setup, because there is (at least) a line of code missing in this section: cinnamon/files/usr/share/cinnamon/cinnamon-settings/modules/cs_power.py Lines 615 to 619 in 0d9a16f
this line should be added: ("suspend", _("Suspend")), however i suspect the devs do not want to add it. (or maybe it was gnome devs that were against it? let's hope.) thanks! |
Thanks for your comments :) |
Distribution
Mint 21.2
Package version
5.8.4
Frequency
Always
Bug description
the schema for "/org/cinnamon/settings-daemon/plugins/power/critical-battery-action" defines which settings are valid, not the UI.
when this setting is set to some valid values (for example, 'suspend') the UI behaves in this erratic manner:
this is, beyond any reasonable doubt, a UI bug.
but there is some backdrop to this story...
i remember reading somewhere that some users were requesting for the ability to set 'suspend' as the critical battery action on their computers, only to be met by draconian answers by devs of the type "you are mistaken! suspend is never ever the right critical action! i will not add that option because i feel the urge to save you form yourselves!"
i could not find that discussion again, though i tried, so i am opening this bug.
to these devs, if they show up, i answer:
i would normally submit a pull request, but not in this case: those who want these restrictions up should maintain this silly code.
finally... this is a bit off-topic, but given the previous threads i read, it seems necessary to explain why 'suspend' is the right critical action in some cases. i suppose there are many, but this is my case:
i must say i also have the system configured to suspend if inactive for 10 minutes while on battery power, but i have seen this fail sometimes in some setups: some mice sometimes register a fake position oscillation that keeps systems awake (though i think my mouse does not do that). sometimes software just dies. but this is important to me, so i want redundancy in putting the computer to sleep when the power goes out.
The text was updated successfully, but these errors were encountered: