When my laptop charger is unplugged, I can't boot Ubuntu. I can enter BIOS, so battery has charge. Ubuntu starts to load, but after few seconds it shuts down. Also I tried to load to login screen with charger plugged in, then unplug it and login, this also results in shutdown immidiately after login. But if I boot and login with plugged in charger and then unplug it, system works well. Battery should be fine, because I could load Windows 10 Live from USB flash with unplugged charger.
I tried to add these two arguments, it temporarily solved the problem, but after one day the problem returns.
Laptop behavior is similiar to this question, I tried intended solution, but this did not work.