-
Notifications
You must be signed in to change notification settings - Fork 65
Description
* csd version ('dpkg --list | grep cinnamon-settings-daemon' in Mint/Ubuntu)
* Distribution - (Mint 17.2, Arch, Fedora 25, etc...)
* Graphics hardware *and* driver used
* 32 or 64 bit
Linux mint cinnamon
17.2 x64, 18.2 x64, apparently 18.3 x64
Issue
Please, read more here: https://forums.linuxmint.com/viewtopic.php?f=49&t=202512&p=1053971#p1053971
I've written three posts there as "riseman"
Linux mint remembers its power source only upon boot up or entering-leaving power settings.
So, if laptop has booted on AC and then switched on BAT - it will still think that it is on AC.
This leads to problems when you have different power plans for different power sources.
In my case - my laptop won't suspend after electricity goes down, because it has "always on" plan for AC.
The problem can be partially avoided by using screensaver, but only partially and I don't need a screensaver.
Steps to reproduce
I have these settings:
Screensaver:
- screen locker
- lock the computer when put to sleen - ON
- lock the computer when the screen turns off - OFF
- lock the computer when inactive - NEVER
Power Management main:
- Turn off screen when inactive for - NEVER(AC) / 10 min.(battery)
- Suspend when inactive for - NEVER(AC) / 30 min.(battery)
- When the lid closed - Do nothing in both cases
Power Management brightness:
- On battery, dim screen when inactive - ON
- Brightness level when inactive - 5%
- Dim screen after inactive for - 2min.
I have a strange laptop's behavior with these settings.
Examples:
(1) the laptop is turned off and external power is not connected.
(2) Switching on, logging in, connecting external power.
(3) waiting
(4) Screen NOT dimming after 2 minutes of inactivity, but display is turned off after 10 minutes and suspend after 30 minutes.
(1) the laptop is turned off and external power is connected
(2) Switching on, logging in, disconnecting external power
(3) waiting
(4) Screen dimming after 2 minutes of inactivity, but display does not turned off after 10 minutes and laptop does not go to suspend.
Expected behaviour
in the first example on step (4) display shouldn't turn off and laptop shouldn't go to sleep because power source is AC
in the second example on step (4) screen should turn off after 10 minutes and the laptop should go to sleep after 30 minutes because power source is BATTERY.
Other information
I am sorry, I do not have any linux laptop now and I can't easily give you the version number of the daemon, drivers etc.
I personally faced this horrible problem in Linux mint 17.2 64bit and it still existed in 18.2 64 bit when I erased it from my laptop.
I didn't understand that I should write about this problem here, on github, so I wrote on linuxmint forum.
When linuxmint 18.3 beta appeared I asked a question on linuxmint blog about the status of this issue. Luckily, they noticed me and told that I should create an issue here. So, apparently, problem still exists in 18.3
I personally had this problem on Thinkpad x201 and Thinkpad x240. I also asked my friend to test this on his laptop (I don't know exact model but it is based on AMD APU) and he confirmed that the problem exists.
