It won't void the warranty but on a system that is only 3 weeks old, I would call Dell tech support and have them assist you. It may require a tech visit if it is a hardware problem. 
I was using my laptop earlier today without issue. I attempted to turn it on later in the day but it no longer works. I noticed the light on the system that’s usually illuminated when charging is not on, despite the charging brick light working fine.   I’ve read that removing the battery might help but haven’t attempted to do so in fear of voiding the warranty. Will my warranty be voided if I remove the back screws/lid to access and attempt removing the battery?   I’m pretty frustrated as I’ve only had this laptop for 3 weeks. Any help would be appreciated.  
Dell g15 5511 not turning on