This sounds like it needs to go back to the maker. A new laptop should not be doing this. Use your warranty.
Hello,
I have had this issue for about a week now and I have not been able to fix it. Here are my computer specs:
Windows 10 Acer Aspire V3 771G-9809 ASIN: B009JXJWZI Intel Core i7-3632QM 2.2GHz (6MB Cache) 8 GB SDRAM 1 TB 5400RPM SATA Hard Drive 17.3-Inch Screen, NVIDIA GeForce GT 650M
The problem is that when I play Dota 2, my computer starts beeping to indicate the power being plugged in and unplugged over and over again. Eventually it loses battery and just dies while im playing. I first assumed it was a battery or AC issue so I bought replacements for both with no effect on the issue.
I then read that it may be an overheating issue so I took my laptop apart and airdusted everything inside. That also did nothing for the problem. I downloaded MSI Afterburner and tested out the temperature while playing dota. Turns out my temperature was very decent hovering around 50-60 C. So perhaps it is not an overheating issue? I also tried tweaking the advanced battery settings to adjust max power to 75% while plugged in and left it 100% while unplugged since this laptop is plugged in 99% of the time anyway.
I don't know what to do at this point. It was only acts up with demanding games, but now it starts beeping at me even with no programs running other than a browser and steam. I can play Age of empires 2 also which is an older game with outdated graphics, yet it still beeps when I play it. Just doesn't end up actually dying.
I checked eventviewer under systems and im getting Event ID: 12 sourced from UserModePowerService and ID: 105 sourced from Kernel-Power
Can anyone help me?

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic