Default Freeze after battery reaches below 20%

Hi,

Just wondering if anyone has encountered this. Got a Rogers HTC One M8 two days ago and everything is stock. I'm going through some cycles with the battery and noticed that when the battery level reaches below 20% I am getting a lot of freezes. Screen won't swipe, can't swipe down notification menu, and none of the on screen buttons would work.

I had to lock it and wake the screen again to be able to access anything else.

Thanks,
Peter