Re: Powrprof patches

Stefan Dösinger <[email protected]> Mon, 17 Feb 2025 11:51:50 +0300
Newsgroups gmane.comp.emulators.wine.devel
Message-ID <5861056.DvuYhMxLoT@grey>
Am Montag, 17. Februar 2025, 00:45:32 Ostafrikanische Zeit schrieb robert 
lippmann:
> 1) Default power profiles are stored in the registry under
> HKLM\System\CurrentControlSet\Control\Power.  The subtree is pretty huge
> (about a 1.5m .reg file when I exported it.

What's your ultimate goal? I guess you have an application that tries to read 
and/or change power settings.

If the application is merely reading to e.g. figure out if it is running on a 
laptop powered by battery you probably don't need most of the registry values,

If you want to make a power management tool work then you are in for a lot of 
work. Powerprof would have to talk to lower level Linux components to actually 
apply changes to the hardware settings - that's going to be tricky.
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEQxb0tqoFWyeVMl1sPRO8yFRPGiIFAmey+KYACgkQPRO8yFRP
GiK98g/6AoHNTwSXqJPDyW4iopX8yO7fdEDcm0c4Zz9jqt5X+c2pWnkTApHgvtYK
cOJPYgG+vReCyoNxiy8+YPn8MVUWJuYdxInB0Pzja0hcu95lkUYw1l8vwDXVSAR4
6OZhZp2kDaMImug6spp2RrU/Es6jyfddin9frV1djXC8kyw0Bpa2hsW+Ed5II6Xt
nE76lfHHMxLhkfiP0KxMrS/T7HNPY/8Ufl/Rsn/OLVV8wWYd6H/HKQ/S6h9Lilj4
jfcrjnQnSGfUVVMbQ4B586qAWBWdPEuF4W8shWsy2CpDBFIKRJ9LKAT+4VUB1KLh
LumEswpC+OwgXpM6kAGQOdd4i5Ps2xgeT+fCKTXdqsi5awgsqqoRv73O3QRCAwbO
t0HM8MTt7OUdKeWEkhzH8zs3AYGb+lihPcvYjDSTT1xyQguKCY46SkVBGwXAIB/c
nitaTEEXzZ4x92+g0UrUmr+Jyd8HCqFYXsxIFR2yXCrK7Rqpj+QwFMXAKAtvZOum
FRDBFT7V6w+CQh2/OTTmfN0kkfzG8KPeod1UqzLY4Hytxyau34qvRbbGvVWrUVd7
fqCB9+hdIIbL/8do6ZDehF7mJBa6KbKiIDXGsrcv+1y+hPy5l3lqPTVZDMYdQkSq
WH6DefoIUyYHYhOfC6V84eQJS5zbSRn4GU6tnSvnyHwd2KBLJyg=
=D2ak
-----END PGP SIGNATURE-----