Stop battery usage [Ubuntu 18]





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







8















My laptop's battery is broken, totally dead. It is also irreplaceable and I will not be able to replace it in the next 3 months at least. It is invoking notification messages almost every 3-5s, which quickly become annoying. I guess the same ones cause typing lag too, because as I explain it to myself, the battery or some watchdog in the OS sends an interrupt to the CPU, the OS does process switching, to execute the interrupt and hence lag.



Please, tell me how can I stop the battery of being used by the computer completely. So far, I have tried dconf settings,"critical-battery-action" = "nothing" and use time policy both true and false, nothing help. I uninstalled the battery indicator, that did not work either.
Should I remove the drivers of the battery if so how and will that prevent the computer from running on charger only?










share|improve this question







New contributor




KDX2 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • What release of Ubuntu are you using, Ubuntu Core 18? (a release that uses yy format), or the more common Ubuntu 18.04 LTS?, or Ubuntu 18.10? (both of which are yy.mm in format) You don't normally use Ubuntu Core 18 for laptops.

    – guiverc
    17 hours ago











  • @guivec Sorry for that, I just shortened it. The exact version is Ubuntu 18.04.2 LTS. :)

    – KDX2
    17 hours ago











  • You might be able to disable the battery in the BIOS.

    – Nonny Moose
    11 hours ago


















8















My laptop's battery is broken, totally dead. It is also irreplaceable and I will not be able to replace it in the next 3 months at least. It is invoking notification messages almost every 3-5s, which quickly become annoying. I guess the same ones cause typing lag too, because as I explain it to myself, the battery or some watchdog in the OS sends an interrupt to the CPU, the OS does process switching, to execute the interrupt and hence lag.



Please, tell me how can I stop the battery of being used by the computer completely. So far, I have tried dconf settings,"critical-battery-action" = "nothing" and use time policy both true and false, nothing help. I uninstalled the battery indicator, that did not work either.
Should I remove the drivers of the battery if so how and will that prevent the computer from running on charger only?










share|improve this question







New contributor




KDX2 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • What release of Ubuntu are you using, Ubuntu Core 18? (a release that uses yy format), or the more common Ubuntu 18.04 LTS?, or Ubuntu 18.10? (both of which are yy.mm in format) You don't normally use Ubuntu Core 18 for laptops.

    – guiverc
    17 hours ago











  • @guivec Sorry for that, I just shortened it. The exact version is Ubuntu 18.04.2 LTS. :)

    – KDX2
    17 hours ago











  • You might be able to disable the battery in the BIOS.

    – Nonny Moose
    11 hours ago














8












8








8








My laptop's battery is broken, totally dead. It is also irreplaceable and I will not be able to replace it in the next 3 months at least. It is invoking notification messages almost every 3-5s, which quickly become annoying. I guess the same ones cause typing lag too, because as I explain it to myself, the battery or some watchdog in the OS sends an interrupt to the CPU, the OS does process switching, to execute the interrupt and hence lag.



Please, tell me how can I stop the battery of being used by the computer completely. So far, I have tried dconf settings,"critical-battery-action" = "nothing" and use time policy both true and false, nothing help. I uninstalled the battery indicator, that did not work either.
Should I remove the drivers of the battery if so how and will that prevent the computer from running on charger only?










share|improve this question







New contributor




KDX2 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












My laptop's battery is broken, totally dead. It is also irreplaceable and I will not be able to replace it in the next 3 months at least. It is invoking notification messages almost every 3-5s, which quickly become annoying. I guess the same ones cause typing lag too, because as I explain it to myself, the battery or some watchdog in the OS sends an interrupt to the CPU, the OS does process switching, to execute the interrupt and hence lag.



Please, tell me how can I stop the battery of being used by the computer completely. So far, I have tried dconf settings,"critical-battery-action" = "nothing" and use time policy both true and false, nothing help. I uninstalled the battery indicator, that did not work either.
Should I remove the drivers of the battery if so how and will that prevent the computer from running on charger only?







power-management laptop indicator battery notification






share|improve this question







New contributor




KDX2 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




KDX2 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




KDX2 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 17 hours ago









KDX2KDX2

1936




1936




New contributor




KDX2 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





KDX2 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






KDX2 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • What release of Ubuntu are you using, Ubuntu Core 18? (a release that uses yy format), or the more common Ubuntu 18.04 LTS?, or Ubuntu 18.10? (both of which are yy.mm in format) You don't normally use Ubuntu Core 18 for laptops.

    – guiverc
    17 hours ago











  • @guivec Sorry for that, I just shortened it. The exact version is Ubuntu 18.04.2 LTS. :)

    – KDX2
    17 hours ago











  • You might be able to disable the battery in the BIOS.

    – Nonny Moose
    11 hours ago



















  • What release of Ubuntu are you using, Ubuntu Core 18? (a release that uses yy format), or the more common Ubuntu 18.04 LTS?, or Ubuntu 18.10? (both of which are yy.mm in format) You don't normally use Ubuntu Core 18 for laptops.

    – guiverc
    17 hours ago











  • @guivec Sorry for that, I just shortened it. The exact version is Ubuntu 18.04.2 LTS. :)

    – KDX2
    17 hours ago











  • You might be able to disable the battery in the BIOS.

    – Nonny Moose
    11 hours ago

















What release of Ubuntu are you using, Ubuntu Core 18? (a release that uses yy format), or the more common Ubuntu 18.04 LTS?, or Ubuntu 18.10? (both of which are yy.mm in format) You don't normally use Ubuntu Core 18 for laptops.

– guiverc
17 hours ago





What release of Ubuntu are you using, Ubuntu Core 18? (a release that uses yy format), or the more common Ubuntu 18.04 LTS?, or Ubuntu 18.10? (both of which are yy.mm in format) You don't normally use Ubuntu Core 18 for laptops.

– guiverc
17 hours ago













@guivec Sorry for that, I just shortened it. The exact version is Ubuntu 18.04.2 LTS. :)

– KDX2
17 hours ago





@guivec Sorry for that, I just shortened it. The exact version is Ubuntu 18.04.2 LTS. :)

– KDX2
17 hours ago













You might be able to disable the battery in the BIOS.

– Nonny Moose
11 hours ago





You might be able to disable the battery in the BIOS.

– Nonny Moose
11 hours ago










3 Answers
3






active

oldest

votes


















9















Please, tell me how can I stop the battery of being used by the computer completely.




There is no method for that from within Ubuntu: a battery creates a loop between the power source and the motherboard so it is all hardware. You will need to physically remove the battery from the system.




Should I remove the drivers of the battery




Batteries do not have drivers. Anything inside Ubuntu is used for analytics purposes (percentages, life span, etc)



One extra remark: make sure the power cord is attached to the system with some tape; if the connector is as fickle as what I have now it will kill your system if is disconnects.






share|improve this answer


























  • Thank you very much. That is useful to know. Do you think turning off low-battery's notifications will stop the typing lag? Shall I keep on trying that or the lag won't stop unless I physically remove the battery?

    – KDX2
    17 hours ago








  • 2





    No idea if it is related to lag but removing the battery itself will stop the notifications from turning up. Assuming you get swarmed with notifications it might be the cause for lag and then yes. Try it ;-)

    – Rinzwind
    16 hours ago





















5














A solution which for now works is, from Settings > Notifications I have completely switched off any notifications, clicking Notification Popups. The lag disappeared, the notifications as well. The problem is that none of my attempts to stop just the low-battery notifications locally worked. Hence, this solution prevents other apps' ones to be displayed, too.



If I see this solution not working in the future or I find a better one I will update this answer.



The battery is in the laptop.






share|improve this answer










New contributor




KDX2 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




























    1














    @Rinzwind is technically correct - batteries don't have drivers, but they do have controllable firmware. This firmware accepts orders via ACPI(Advanced Configuration and Power Interface). You could cut your OS off from information on what the battery is doing by unloading all ACPI kernel modules(acpi=off kernel parameter) or by specifically unloading the battery acpi kernel module(with modprobe). Both solutions courtesy of https://wiki.archlinux.org/index.php/ACPI_modules.



    However, messing with ACPI is a bad idea. ACPI is useful for more than just battery control - it controls processor states(you would most likely need to change your processor scheduler), fan speeds, screen brightness, the power button (for shutting the computer down if the OS crashes irrecoverably), temperature sensors. Turning ACPI off is like unfastening your seatbelt.






    share|improve this answer
























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "89"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });






      KDX2 is a new contributor. Be nice, and check out our Code of Conduct.










      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1133758%2fstop-battery-usage-ubuntu-18%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      9















      Please, tell me how can I stop the battery of being used by the computer completely.




      There is no method for that from within Ubuntu: a battery creates a loop between the power source and the motherboard so it is all hardware. You will need to physically remove the battery from the system.




      Should I remove the drivers of the battery




      Batteries do not have drivers. Anything inside Ubuntu is used for analytics purposes (percentages, life span, etc)



      One extra remark: make sure the power cord is attached to the system with some tape; if the connector is as fickle as what I have now it will kill your system if is disconnects.






      share|improve this answer


























      • Thank you very much. That is useful to know. Do you think turning off low-battery's notifications will stop the typing lag? Shall I keep on trying that or the lag won't stop unless I physically remove the battery?

        – KDX2
        17 hours ago








      • 2





        No idea if it is related to lag but removing the battery itself will stop the notifications from turning up. Assuming you get swarmed with notifications it might be the cause for lag and then yes. Try it ;-)

        – Rinzwind
        16 hours ago


















      9















      Please, tell me how can I stop the battery of being used by the computer completely.




      There is no method for that from within Ubuntu: a battery creates a loop between the power source and the motherboard so it is all hardware. You will need to physically remove the battery from the system.




      Should I remove the drivers of the battery




      Batteries do not have drivers. Anything inside Ubuntu is used for analytics purposes (percentages, life span, etc)



      One extra remark: make sure the power cord is attached to the system with some tape; if the connector is as fickle as what I have now it will kill your system if is disconnects.






      share|improve this answer


























      • Thank you very much. That is useful to know. Do you think turning off low-battery's notifications will stop the typing lag? Shall I keep on trying that or the lag won't stop unless I physically remove the battery?

        – KDX2
        17 hours ago








      • 2





        No idea if it is related to lag but removing the battery itself will stop the notifications from turning up. Assuming you get swarmed with notifications it might be the cause for lag and then yes. Try it ;-)

        – Rinzwind
        16 hours ago
















      9












      9








      9








      Please, tell me how can I stop the battery of being used by the computer completely.




      There is no method for that from within Ubuntu: a battery creates a loop between the power source and the motherboard so it is all hardware. You will need to physically remove the battery from the system.




      Should I remove the drivers of the battery




      Batteries do not have drivers. Anything inside Ubuntu is used for analytics purposes (percentages, life span, etc)



      One extra remark: make sure the power cord is attached to the system with some tape; if the connector is as fickle as what I have now it will kill your system if is disconnects.






      share|improve this answer
















      Please, tell me how can I stop the battery of being used by the computer completely.




      There is no method for that from within Ubuntu: a battery creates a loop between the power source and the motherboard so it is all hardware. You will need to physically remove the battery from the system.




      Should I remove the drivers of the battery




      Batteries do not have drivers. Anything inside Ubuntu is used for analytics purposes (percentages, life span, etc)



      One extra remark: make sure the power cord is attached to the system with some tape; if the connector is as fickle as what I have now it will kill your system if is disconnects.







      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited 16 hours ago

























      answered 17 hours ago









      RinzwindRinzwind

      210k28404538




      210k28404538













      • Thank you very much. That is useful to know. Do you think turning off low-battery's notifications will stop the typing lag? Shall I keep on trying that or the lag won't stop unless I physically remove the battery?

        – KDX2
        17 hours ago








      • 2





        No idea if it is related to lag but removing the battery itself will stop the notifications from turning up. Assuming you get swarmed with notifications it might be the cause for lag and then yes. Try it ;-)

        – Rinzwind
        16 hours ago





















      • Thank you very much. That is useful to know. Do you think turning off low-battery's notifications will stop the typing lag? Shall I keep on trying that or the lag won't stop unless I physically remove the battery?

        – KDX2
        17 hours ago








      • 2





        No idea if it is related to lag but removing the battery itself will stop the notifications from turning up. Assuming you get swarmed with notifications it might be the cause for lag and then yes. Try it ;-)

        – Rinzwind
        16 hours ago



















      Thank you very much. That is useful to know. Do you think turning off low-battery's notifications will stop the typing lag? Shall I keep on trying that or the lag won't stop unless I physically remove the battery?

      – KDX2
      17 hours ago







      Thank you very much. That is useful to know. Do you think turning off low-battery's notifications will stop the typing lag? Shall I keep on trying that or the lag won't stop unless I physically remove the battery?

      – KDX2
      17 hours ago






      2




      2





      No idea if it is related to lag but removing the battery itself will stop the notifications from turning up. Assuming you get swarmed with notifications it might be the cause for lag and then yes. Try it ;-)

      – Rinzwind
      16 hours ago







      No idea if it is related to lag but removing the battery itself will stop the notifications from turning up. Assuming you get swarmed with notifications it might be the cause for lag and then yes. Try it ;-)

      – Rinzwind
      16 hours ago















      5














      A solution which for now works is, from Settings > Notifications I have completely switched off any notifications, clicking Notification Popups. The lag disappeared, the notifications as well. The problem is that none of my attempts to stop just the low-battery notifications locally worked. Hence, this solution prevents other apps' ones to be displayed, too.



      If I see this solution not working in the future or I find a better one I will update this answer.



      The battery is in the laptop.






      share|improve this answer










      New contributor




      KDX2 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.

























        5














        A solution which for now works is, from Settings > Notifications I have completely switched off any notifications, clicking Notification Popups. The lag disappeared, the notifications as well. The problem is that none of my attempts to stop just the low-battery notifications locally worked. Hence, this solution prevents other apps' ones to be displayed, too.



        If I see this solution not working in the future or I find a better one I will update this answer.



        The battery is in the laptop.






        share|improve this answer










        New contributor




        KDX2 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.























          5












          5








          5







          A solution which for now works is, from Settings > Notifications I have completely switched off any notifications, clicking Notification Popups. The lag disappeared, the notifications as well. The problem is that none of my attempts to stop just the low-battery notifications locally worked. Hence, this solution prevents other apps' ones to be displayed, too.



          If I see this solution not working in the future or I find a better one I will update this answer.



          The battery is in the laptop.






          share|improve this answer










          New contributor




          KDX2 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.










          A solution which for now works is, from Settings > Notifications I have completely switched off any notifications, clicking Notification Popups. The lag disappeared, the notifications as well. The problem is that none of my attempts to stop just the low-battery notifications locally worked. Hence, this solution prevents other apps' ones to be displayed, too.



          If I see this solution not working in the future or I find a better one I will update this answer.



          The battery is in the laptop.







          share|improve this answer










          New contributor




          KDX2 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          share|improve this answer



          share|improve this answer








          edited 13 hours ago





















          New contributor




          KDX2 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          answered 14 hours ago









          KDX2KDX2

          1936




          1936




          New contributor




          KDX2 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.





          New contributor





          KDX2 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.






          KDX2 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.























              1














              @Rinzwind is technically correct - batteries don't have drivers, but they do have controllable firmware. This firmware accepts orders via ACPI(Advanced Configuration and Power Interface). You could cut your OS off from information on what the battery is doing by unloading all ACPI kernel modules(acpi=off kernel parameter) or by specifically unloading the battery acpi kernel module(with modprobe). Both solutions courtesy of https://wiki.archlinux.org/index.php/ACPI_modules.



              However, messing with ACPI is a bad idea. ACPI is useful for more than just battery control - it controls processor states(you would most likely need to change your processor scheduler), fan speeds, screen brightness, the power button (for shutting the computer down if the OS crashes irrecoverably), temperature sensors. Turning ACPI off is like unfastening your seatbelt.






              share|improve this answer




























                1














                @Rinzwind is technically correct - batteries don't have drivers, but they do have controllable firmware. This firmware accepts orders via ACPI(Advanced Configuration and Power Interface). You could cut your OS off from information on what the battery is doing by unloading all ACPI kernel modules(acpi=off kernel parameter) or by specifically unloading the battery acpi kernel module(with modprobe). Both solutions courtesy of https://wiki.archlinux.org/index.php/ACPI_modules.



                However, messing with ACPI is a bad idea. ACPI is useful for more than just battery control - it controls processor states(you would most likely need to change your processor scheduler), fan speeds, screen brightness, the power button (for shutting the computer down if the OS crashes irrecoverably), temperature sensors. Turning ACPI off is like unfastening your seatbelt.






                share|improve this answer


























                  1












                  1








                  1







                  @Rinzwind is technically correct - batteries don't have drivers, but they do have controllable firmware. This firmware accepts orders via ACPI(Advanced Configuration and Power Interface). You could cut your OS off from information on what the battery is doing by unloading all ACPI kernel modules(acpi=off kernel parameter) or by specifically unloading the battery acpi kernel module(with modprobe). Both solutions courtesy of https://wiki.archlinux.org/index.php/ACPI_modules.



                  However, messing with ACPI is a bad idea. ACPI is useful for more than just battery control - it controls processor states(you would most likely need to change your processor scheduler), fan speeds, screen brightness, the power button (for shutting the computer down if the OS crashes irrecoverably), temperature sensors. Turning ACPI off is like unfastening your seatbelt.






                  share|improve this answer













                  @Rinzwind is technically correct - batteries don't have drivers, but they do have controllable firmware. This firmware accepts orders via ACPI(Advanced Configuration and Power Interface). You could cut your OS off from information on what the battery is doing by unloading all ACPI kernel modules(acpi=off kernel parameter) or by specifically unloading the battery acpi kernel module(with modprobe). Both solutions courtesy of https://wiki.archlinux.org/index.php/ACPI_modules.



                  However, messing with ACPI is a bad idea. ACPI is useful for more than just battery control - it controls processor states(you would most likely need to change your processor scheduler), fan speeds, screen brightness, the power button (for shutting the computer down if the OS crashes irrecoverably), temperature sensors. Turning ACPI off is like unfastening your seatbelt.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 13 hours ago









                  Syfer PolskiSyfer Polski

                  512




                  512






















                      KDX2 is a new contributor. Be nice, and check out our Code of Conduct.










                      draft saved

                      draft discarded


















                      KDX2 is a new contributor. Be nice, and check out our Code of Conduct.













                      KDX2 is a new contributor. Be nice, and check out our Code of Conduct.












                      KDX2 is a new contributor. Be nice, and check out our Code of Conduct.
















                      Thanks for contributing an answer to Ask Ubuntu!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1133758%2fstop-battery-usage-ubuntu-18%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      香粉寮

                      GameSpot