Commit graph

3 commits

Author SHA1 Message Date
Ivailo Monev
9bd1592f24 kutils: use static function to set the power manager profile instead of class method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-13 03:33:31 +03:00
Ivailo Monev
3b388d2932 kutils: implement KPowerManager profiles and signals
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-04-20 11:51:03 +03:00
Ivailo Monev
98a4564326 generic: reimplement power manager
this was once on the TODO:
618622f767...fe9d951f17

the org.freedesktop.PowerManagement interface will be there for
compatibility only now since it is obsolete:
https://www.freedesktop.org/wiki/Specifications/power-management-spec/

side note:
powerdevil inhibition was broken

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-04-20 02:20:33 +03:00