I own a Lenovo Ideapad Yoga 11S that suffered from battery failure when i poured coffee over the keyboard. I have checked the battery voltage manually and it is full. The computer also seem to be able to use the battery, it can sleep for extended periods without dying. However, as soon as I unplug it Ubuntu turns the computer to sleep to protect the data since the internal voltmeter seem to indicate zero charge.
How can I turn off this feature? I understand that it would mean I wouldn't be able to check the battery status, but it would be an acceptable trade off to be able to use the machine untethered.