BLUETOOTH-SUSPEND: add bluetooth suspend as wifi suspend

Change-Id: I44123165c65308a1e076a1ac4a62b1fbd4c14f0a
This commit is contained in:
Romuald JEANNE committed 2020-06-23 17:23:51 +02:00
1 parent 4f1d165844
commit 9698c64aca
3 files changed
+85

No files matched your search

@@ -0,0 +1,13 @@
[Unit]
Description=Bluetooth brcmfmac sleep hook
Before=sleep.target
StopWhenUnneeded=yes
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=-/usr/bin/bluetooth_brcmfmac_driver.sh unbind
ExecStop=-/usr/bin/bluetooth_brcmfmac_driver.sh bind
[Install]
WantedBy=sleep.target