Debugging pm-powersave

Pedro Francisco pedrogfrancisco at gmail.com
Mon Mar 12 23:57:06 UTC 2012


Hi!
"pm-powersave" isn't running the script I have on /etc/pm/power.d .

If someone can do the following test and post the results, I'd be grateful:

$ sudo nano -w /etc/pm/power.d/my_powersave
and add:
--------------------------------------------------------------
#!/bin/sh

echo `date` $@ >> /tmp/mypm.log
--------------------------------------------------------------

Do:
$ sudo chmod +x /etc/pm/power.d/my_powersave

Do:
$ sudo pm-powersave true
$ sudo pm-powersave false

And finally paste here the output of:
$ cat /tmp/mypm.log

In my case, the file is empty and it shouldn't. Can someone confirm
here if it's a pm-utils problem or just something on my computer?


Thanks in advance!
-- 
Pedro


More information about the users mailing list