Bug 23428 - powertop systemd-service hsould be restarted after suspend
Summary: powertop systemd-service hsould be restarted after suspend
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: José Jorge
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-11 13:32 CEST by Marc Krämer
Modified: 2019-04-10 11:05 CEST (History)
0 users

See Also:
Source RPM: powertop-2.9-5.mga6.src.rpm
CVE:
Status comment:


Attachments

Description Marc Krämer 2018-08-11 13:32:57 CEST
If you do a suspend/hibernate, all powerparameters are reset to default.
powertop --auto-tune should be rerun after resume operation.
Marc Krämer 2018-08-11 13:33:47 CEST

Assignee: bugsquad => lists.jjorge

Comment 1 José Jorge 2018-08-11 14:43:44 CEST
Thanks for reporting, but I think you are wrong : this tunes only kernel-parameters that are kept after both suspend and hibernate. I have just ensured in my system :

- display TUNABLES in powertop : all are GOOD
- suspend / awake
- display TUNABLES in powertop : all are GOOD
- hibernate / poweron
- display TUNABLES in powertop : all are GOOD

Feel free to reopen if you have further information.

Resolution: (none) => INVALID
Status: NEW => RESOLVED

Comment 2 Marc Krämer 2018-08-11 17:56:11 CEST
Hi José,
here on my thinkpad many tunables are in bad shape after resume.
Before suspend I checked all values and tuneables are all good.
The using suspend (via lxde) and resuming via powerkey tuneables for ~20 devices are bad.

Did you check your values are in bad shape before using powertop?

Resolution: INVALID => (none)
Status: RESOLVED => REOPENED

Comment 3 Marc Krämer 2018-08-14 14:49:36 CEST
I think this can be done via systemd-sleep target.
Comment 4 José Jorge 2018-08-22 22:59:31 CEST
(In reply to Marc Krämer from comment #2)
> Hi José,
> Did you check your values are in bad shape before using powertop?

Yes. Maybe you have something interesting in your hardware. Feel free to contribute a trigger for systemd-sleep, but it should be ignored by default as most hardware does not have this problem and powertop is huge in RAM.
Comment 5 José Jorge 2019-04-10 11:05:14 CEST
No activity in months, closing. Feel free to reopen if needed.

Resolution: (none) => FIXED
Status: REOPENED => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.