Martin, go into your power settings and advanced power settings - go down to battery and select the following options:
- Critical Battery Notification> Plugged in> off
- Critical Battery Action> Plugged in> Do nothing
- Low Battery Notification> Plugged in> off
- Low Battery Action> Plugged in> Do nothing
It will still flash the warning lights, but the computer will keep working without any issues or problems.
If I unplug my laptop from the power none of the issues happen, hence I only applied these notification/action settings to plugged in options.