View Single Post
Posts: 34 | Thanked: 21 times | Joined on Feb 2008
#36
Originally Posted by iamthewalrus View Post
I do miss a way to force the wifi to turn off when going into softpoweroff in order to save power. I know mce.conf does not implement this, only 'off line mode' but that requires to manually take it out of 'off line mode' again, which is not what I want. So I guess I'll still have to figure out how use powerlaunch.conf. Or does softpoweroff mean that all processes including wi-fi are suspended?
softpoweroff doesn't really do anything other than lock keys and turn off screen. I think this will do what you want. In /etc/powerlaunch/system.conf, under the [device] section, edit the following two lines:
Code:
softpoweroff = dbus_call powered SoftPowerOff; set in_softpoweroff 1; call system.device.offline_mode
softpoweron = dbus_call powered SoftPowerOn; set in_softpoweroff 0; call system.device.normal_mode
The changes are the two extra calls at the end to switch to offline or normal mode on softpoweroff/on
 

The Following User Says Thank You to austin For This Useful Post: