My Dell XPS-13 9350 has been malfunctioning when on battery power. On AC Power, whenever I push the power button to make it suspend activities, it works fine, i.e., restores the previous session when turned back on. However, if I do the same on battery, it spends (a strangely long) time rebooting and, consequently, all the programs were closed. This problem happens even if I remove the AC power for seconds with the lid closed - it is as if the computer had no battery at all.
I've tried making changes to:
- /etc/default/grub (recommended here and here), changing
GRUB_CMDLINE_LINUX=""
to
GRUB_CMDLINE_LINUX="acpi_sleep=nonvs"
- /etc/systemd/logind.conf (recommended here and here), setting
HandleLidSwitch=ignore
HandleLidSwitchDocked=ignore
- dconf Editor->org->gnome->settings daemon->plugins->power (recommended here), lid-close-ac-action=nothing
lid-close-battery-action=nothing
These settings prevent me from having to reboot, but obviously I don't want to keep my computer running in a confined space (like my backpack), where it may overheat, not to mention the waste of battery life.
Is there anything else I can try? Can this actually be a software/driver problem or is the only option now buying a new battery?
Thanks!