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?
Best Answer
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.
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.