View Single Post
Old 08-08-2024, 11:21 PM   #27
lumping-sugar66
Zealot
lumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trolls
 
lumping-sugar66's Avatar
 
Posts: 100
Karma: 81981
Join Date: Oct 2023
Location: Ontario, Canada
Device: Kobo Aura Edition 2, Kobo Clara 2E
The following routine eliminates this drastic battery drain due to bluetooth:

Code:
hciconfig hci0 down
pkill hciattach
pkill bluetoothd
rmmod -w /drivers/mx6sll-ntx/wifi/sdio_bt_pwr.ko
rmmod -w  ./uhid/uhid.ko
I have tested each component and all of them contribute to the drain in some small way adding up to almost ~3% per hour. Killing them eliminated the entire drain. Right now I have 12h40m sleep time on my device with 0.00% change per hour.

FWIW, it's not related to this thread anymore but I wrote this for my page turner plugin. A complete procedure on how to turn bluetooth on and off properly is in the shell scripts of the repository below.
https://github.com/onatbas/bluetooth.koplugin
lumping-sugar66 is offline   Reply With Quote