暂时停止 Firefox 以防止电池耗尽

暂时停止 Firefox 以防止电池耗尽

Firefox 耗尽了我的电量(懒人的坏习惯),所以我想停止它一段时间,然后再次恢复。我试过 killall,但没有成功:

$ ps h kpcpu -eo pcpu,comm | tail -n2
 3.2 wget
35.7 firefox
$ killall -i -s STOP  firefox
Signal firefox(9661) senden? (y/N) y
$ ps h kpcpu -eo pcpu,comm | tail -n2
 3.3 wget
35.7 firefox
$ killall -s CONT  firefox
$ ps h kpcpu -eo pcpu,comm | tail -n2
 3.4 wget
35.5 firefox

好吧,停止的 Firefox 不再对鼠标做出反应,但正如您所见,它一直在消耗我的电池。我值得这样的待遇吗?有没有什么聪明的天才可以说服 Firefox 勇敢行事?:-)

相关内容