-
Notifications
You must be signed in to change notification settings - Fork 29
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
[feature request] Detect and filter power features in selection #271
Comments
I just checked my PC with swap partition, hibernation is not greyed out but fails, probably because no
Debian (and probably ubuntu) do not use the kernel parameter but a config file for the ramdisk (have to look it up on my laptop), fedora no clue. EDIT: Debian uses this (followed by a
So just rely on systemd statements is probably non enough, checking for resume= parameters is required too. |
Yes, with Arch and its derivatives,
Probably. But the feature request is valid. |
If there's no reliable method for all distros, at least a warning can be added about hibernation somewhere, e.g. as a tooltip: "If you select hibernation, make sure that your system can really hibernate!" |
@tsujan A reliable method requires a combination to check that ALL preconditions/crieria for hibernation are met. That is:
Now if hibernation is detected available ( |
@antis81 I try to make sure that valid bug reports and feature requests are open and invalid ones are closed. Our bug tracker needs to be organized; otherwise, it'll lose its functionality. |
@tsujan No need to say mate! :) |
A power feature should only be selectable/visible in the lxqt-powermanaget tool if the hardware/driver supports it.
Expected Behavior
Feature is not selectable/visible in GUI if hardware/driver doesn't support it.
Current Behavior
All features are selectable regardless of their availability.
Possible Solution
Seems implemented in lxqt-leave (via QDbus request?) - the hibernate button is "greyed out". If most/all features can be queried this way it would be great!
Steps to Reproduce (for bugs)
If possible - disable the feature under test. (For "hibernate" -> remove the
resume
HOOK in/etc/mkinitcpio.conf
and reload/reboot).Context
No action is taken on low battery after 30s timeout info box - battery management is correctly configured. Further investigation revealed that my setup has no hibernation feature. Selecting such feature in lxqt-powermanagement tool leads to no effect (silent error in the background) -> user confusion.
@tsujan FYI: Some time ago I disabled my swap partition (because SSD). Only a guess, but it makes sense hibernation would use that partition by default does it?
System Information
Not relevant here -> LXQt 0.17
The text was updated successfully, but these errors were encountered: