Re: Laptop-mode et gestion de l'énergie
Peut être essayer un truc se basant la dessus
https://wiki.debian.org/SimplePowerSave
A mettre dans /etc/pm/power.d/ as /etc/pm/power.d/power
if on_ac_power; then
# Start AC powered settings
--------------------------------------------#
# Ta config
# End AC powered settings
----------------------------------------------#
else
# Start battery powered settings
---------------------------------------#
echo 100 > /proc/acpi/video/IGFX/LCD/brightness
# End battery powered settings
-----------------------------------------#
fi
- - -
Reply to: