Default MATE power management settings shouldn't cause suspend
Suspend/resume is not working reliably on modern hardware, in most cases suspending will just lock up the system. Consequently the default settings for MATE should not cause a suspend (like, when closing the lid of a laptop).
Updated by Alexander Pyhalov 5 days ago
Mate-power-manager reiles on ConsoleKit here to determine if system can be suspended. And ConsoleKit just uses
can_suspend = ((uadmin(A_FREEZE, AD_CHECK_SUSPEND_TO_RAM, 0) == 0)? TRUE: FALSE) can_hibernate = ((uadmin(A_FREEZE, AD_CHECK_SUSPEND_TO_DISK, 0) == 0)? TRUE: FALSE).
Should we support a black or whitelist of capable-to-suspend hardware in ConsoleKit or in base system? I'm not sure.
Updated by Alexander Pyhalov 3 days ago
- Status changed from New to Resolved
Default settings should be fixed by https://github.com/OpenIndiana/oi-userland/pull/5546