linrunner / TLP

TLP - Optimize Linux Laptop Battery Life
https://linrunner.de/tlp
GNU General Public License v2.0
2.51k stars 129 forks source link

DEVICES_TO_DISABLE_ON_STARTUP doesn't work for wifi #719

Closed vrgovinda closed 6 months ago

vrgovinda commented 7 months ago

[x] I've read and accepted the Bug Reporting Howto [x] I've provided all required tlp-stat outputs via Gist (see below)

Describe the bug

I have enabled the DEVICES_TO_DISABLE_ON_STARTUP="bluetooth nfc wifi wwan" line in /etc/tlp.conf

The Bluetooth gets disabled but the WiFi doesn't.

Expected behavior

Both should get disabled at startup.

To Reproduce

Steps to reproduce the unexpected behavior:

  1. Does the problem occur on battery or AC or both? battery

  2. Actions to reproduce the behaviour

  1. Shell commands entered and their output
  2. Full output of tlp-stat via https://gist.github.com/ for all matching cases of 1 (not as file attachment, no screenshots)

tlp-stat output

Additional context

Add any other context about the problem here.

linrunner commented 7 months ago

Hi. I can't read your output, the link doesn't work.

EDIT: no matter, I could fix it myself.

linrunner commented 7 months ago

Does

wifi off

work?

vrgovinda commented 6 months ago

Does

wifi off

work?

Do you mean DEVICES_TO_DISABLE_ON_STARTUP="bluetooth nfc wifi off wwan"

linrunner commented 6 months ago

No, your config is correct. I meant you should execute the command

wifi off

in a terminal and check if it actually turns Wi-Fi off.

linrunner commented 6 months ago

Also please show the output of another terminal command:

sudo service tlp status
linrunner commented 6 months ago

Due to inactivity I'll close here. Nevertheless, you are welcome to post new findings about your problem here.