linrunner / TLP

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

Bluetooth interface support for tlp-rdw? #530

Open The-Compiler opened 4 years ago

The-Compiler commented 4 years ago

As the Linux support for my new laptop's WWAN isn't really good at the moment, I use Android's Bluetooth tethering instead via NetworkManager.

This creates a bnep0 interface which is listed as type bt in nmcli dev. I'd like to add support for that to tlp-rdw so that I can disable all other interfaces when I'm connected via Bluetooth.

I should be able to write a PR for this adding DEVICES_TO_(DI|EN)SABLE_ON_BT_(|DIS)CONNECT settings, does that sound good?

linrunner commented 4 years ago

Hi,

sounds interesting, go ahead.

I suggest however to use something like _BTNET_ instead of _BT_ to somewhat reduce the risk of confusion.

Remember to cover tlp-stat -r and changelog.