Skip to content

[feature request] Detect and filter power features in selection #271

@antis81

Description

@antis81

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions