m15a / etc-nixos

My NixOS and nix-darwin configurations
The Unlicense
4 stars 0 forks source link

Bluetooth devices get disabled after idling a few minutes #8

Open mnacamura opened 2 years ago

mnacamura commented 2 years ago

After disconnecting my bluetooth mouse, the bt adopter gets powered off. Moreover, after a few minutes without moving the bt mouse, which make the bt mouse powered off, it also gets powered off.

According to the tlp manual, setting USB_EXCLUDE_BTUSB=1 in tlp.conf and kernel boot option btusb.enable_autosuspend=0 would work. However, it does not on my laptop.

mnacamura commented 2 years ago

Probably this helps.