That's the problem, it always gives me the error even before opening a program.
But, you say it is running "perfect" with the charger plugged in? Are you able to at least update the drivers, Windows updates, BIOS, GPU BIOS, etc. with it plugged in? Have you tried to enter safe mode on battery?