Chosen Solution

I have an Asus q524uq laptop and I’ve been using it for about a year now. All of a sudden my laptop doesn’t charge above 80% and when I disconnect the charger, it goes off after 5 minutes

Sounds like you need a new battery.