Question HDD / screen power management on Kubuntu 20.04 LTS

mikeymikec

Lifer
May 19, 2011
17,798
9,786
136
At the moment I'm making do with a 15-minute system S3 sleep timer (set in Kubuntu System Settings > Power Management > Activity Settings > Define a special behaviour > always sleep after 15 minutes), which works well enough for now.

I'd really like to get the screen to go off after 5-10 minutes. Logically I'd use System Settings > Power Management > Advanced > Screen Energy Saving > Switch off after x minutes, but with my setup (AMD R9 380X, amdgpu driver, Iiyama XU2292HS connected via HDMI), this makes the screen go dark, then the pointer disappears, then the screen comes back on (on its own).

I'd also really like to have my data HDD to power down after x minutes. KDE's partition manager has no such settings that I've seen, so I installed the app I'm used to being the gnome disks utility, which on Lubuntu 18.04 would tell the drive to auto power down after x minutes idle time, however on Kubuntu this setting does nothing. The menu button in the disks utility has a 'standby now' option which (after authentication), successfully spins down the drive.

I've done a bit of reading up about HDD power management and what I've found is this:

Code:
hdparm -C /dev/sdc
/dev/sdc:
APM_level      = not supported

Code:
mike@mike-pc:~$ sudo hdparm -S 5 /dev/sdc

/dev/sdc:
setting standby to 5 (25 seconds)
Does nothing.

What did work (only in terms of immediate spindown):
Code:
mike@mike-pc:~$ sudo hdparm -y /dev/sdc

/dev/sdc:
issuing standby command
mike@mike-pc:~$ sudo hdparm -C /dev/sdc

/dev/sdc:
drive state is:  standby
mike@mike-pc:~$ sudo hdparm -C /dev/sdc

Then I accessed the drive, causing it to spin up, ran the query again:
Code:
/dev/sdc:
drive state is:  active/idle

I have two theories. Whatever method the gnome disks utility uses to implement timed auto hdd spindown is either resulting in the drive saying 'not supported', or maybe it's a permissions issue?
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |