Ubuntu – Computer shuts down when unplugged


I have an MSI Wind U100 netbook (they call it a notebook). Every time I unplug the AC adapter the machine shuts down as if the battery is dead. I get a notification that says "battery is critical and is about to shut down" or something to that sense. It did this before but I fixed it by opening gconf-editor. Then browse to /apps/gnome-power-manager/general. and de-select the option use_time_for_policy.

But that doesn't work with 11.10. I have also searched and can't find a solution. Anyone?

Best Answer


gsettings set org.gnome.settings-daemon.plugins.power 'use-time-for-policy' 'false'

Works for various versions of Ubuntu from 11.10 to 17.10 at least.

Related Question