You should enable power saving (auto suspend) for virutal machine!
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start with plugins/power/csd-power-manager.c at lines 3011-3015 and reproduce the behavior in a LinuxMint KVM guest using the Cinnamon or MATE desktop. Trace how automatic suspend is disabled for virtual machines and inspect the power settings UI. Done means the behavior is configurable for VMs or the UI clearly explains the restriction.
Written by the indexing model from the issue text.
Description
I am running LinuxMint in KVM virtual machine. I have the need to put VM in sleep/suspend mode if no activity.
It works pretty fine for KDE desktop in the VM. However, in Cinnamon/MATE desktop, it never auto suspends. If I click the suspend button in the UI, or run systemctl suspend manually, it actually works.
After spending one whole day to debug this problem, I noticed this code:
https://github.com/linuxmint/cinnamon-settings-daemon/blob/789b2ee5908f1b186a29cbd6d0accd31c3c1bf97/plugins/power/csd-power-manager.c#L3011-L3015
You just force disable auto suspend for all VMs. This is very stupid, as sometimes someone may really need auto suspend. It is the end user rather than you developers that is responsible to decide how to save the power.
You should at least provide an option to enable this feature for VMs. Or you should note the user about this point in the settings UI. Adding some weird "feature" without notifying the end user is really bad! It wasted everyone's time!
- Dominant language
- C
- Stars
- 71
- Forks
- 75
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from linuxmint/cinnamon-settings-daemon
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
linuxmint/cinnamon-settings-daemon#453 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in linuxmint/cinnamon-settings-daemon
Similar issues
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
HarbourMasters/Shipwright#7229 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
riscv-software-src/riscv-isa-sim#2435 · 1 comment ·
-
bug Self Built Image SNAPSHOT Supported Device target/ramips
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100