Announcement

Collapse
No announcement yet.

Bluetooth is constantly switched on automatically after resuming from Hibernation

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Bluetooth is constantly switched on automatically after resuming from Hibernation

    I was truly annoyed that the Bluetooth is constantly switched on automatically after resuming from system Hibernation.

    Of course, I was never using Bluetooth before putting my system into Hibernation (i.e. suspend to harddisk).

    Enabled Bluetooth is consuming my battery.

    I truly opposed to such automated behaviour without asking users in advance.

    Is that a (known) bug of KUbuntu or of the primitive Ubuntu?

    #2
    Have you looked in System Settings > Bluetooth to see if it is Enabled? You can disable it from there.
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Originally posted by Snowhog View Post
      Have you looked in System Settings > Bluetooth to see if it is Enabled? You can disable it from there.
      Yep, my Bluetooth is always in Disabled status. But, what I noticed is that resuming from hibernation would Enable the Bluetooth automatically, unfortunately.

      Comment


        #4
        Hibernation has always been a bit buggy, it is not necessarily related to KDE, or *buntu specifically.
        You might check the Power Management sections, where there are options to turn off/on Bluetooth and other wireless systems, in various scenarios.

        Assuming you have this section in the Bluetooth settings set, with "enabled" un-checked:
        Click image for larger version  Name:	Screenshot_20220303_073450.png Views:	5 Size:	27.8 KB ID:	661098
        You might try setting this in both "AC" and "battery" under the power management settings:
        Click image for larger version  Name:	Screenshot_20220303_073535.png Views:	5 Size:	43.1 KB ID:	661099



        You might also look for an option to disable Bluetooth in your Bios, as many systems have such options there.

        If this were happening after Suspend, rather than Hibernation, I know how to create some configuration scripts to keep it off, I think.

        BUT:
        While disabling Bt in the Bios is probably the best method, you can manually disable the system service altogether.

        systemctl disable bluetooth.service
        This should stick. The service could be masked if it somehow still starts.
        Last edited by claydoh; Mar 04, 2022, 08:01 PM.

        Comment


          #5
          Thanks for helping me out by exploring different options for me.

          But, completely disabling Bluetooth in BIOS-level is not a proper option for me. I just wanted my Bluetooth to be at my disposal anytime I need it.

          Could I know how to access to the screen provided in your first screenshot? I have no idea what screen it was. I wanted to try out this option also.

          I knew the second one was about Energy Saving, and I selected options suit me.

          It is a good idea, as a work-around, to manually disable Bluetooth by script on every system startup.

          As a work-around, I found that the “rfkill” tool give me a convenient way to properly switch off Bluetooth without requesting admin permission nor does the system restart Bluetooth automatically.
          Code:
          rfkill block bluetooth
          Cheers mate.

          Comment


            #6
            sorry, the second screenshot is from the Power Management section of System Settings

            Comment


              #7
              Cheers claydoh !!

              Comment


                #8
                rfkill block bluetooth placed in startup & shutdown autostart menu. Worked for me.
                Dave Kubuntu 20.04 Registered Linux User #462608

                Wireless Script: http://ubuntuforums.org/showthread.p...5#post12350385

                Comment

                Working...
                X