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?