I just wanted to check if my HTC One M8 is working fine, I just got it and it's brand new but the battery runs out in 4 hours of non stop use and mobile data usage and when I charge it, it charges at about 1% every 5-10 minutes, is this normal? And if not how do I fix it?
The charging issue may be caused thanks to some app which is running on background and a lot burdens CPU.
Try to kill all apps before/while charging to decrease CPU consumption
That 4 hours of nonstop usage are normal I think. If you were playing games or something like that you should be happy for 4 hours. :) So answer is: Yes, It's normal.
Look at this guide