I'm posting this for FYI purposes and to thank Trex888:
I was having this problem on TEKHD's Lollipop Rom also, so it isn't just MM Roms that are affected. I bought an 8000 mAh battery with back cover on ebay and it doesn't happen when using it. I can go all the way to 1% without a problem. Any time I use my OEM battery that came with the phone, my phone shuts down at about 24% charge and keeps power cycling. I can't even shut the phone off with the power button because it just turns itself back on and continuously power cycles. If I remove the battery and then put it back in, the phone will stay off. I thought my battery was bad and bought the 8000 mAh battery, which doesn't behave that way. Now, after seeing this thread, I am relieved to know someone found a "fix."
Needless to say, thank you very much for posting a working fix for this issue. I'm going to hit thanks in a few of your posts since I can only thank you once in the OP
Thanks again Trex888!
Sent from my SM-N910T3 using Tapatalk
So did this method work to fix your old OEM battery or are you jumping the gun? Did you follow directions exactly? Is the wakelock app really necessary? Did you use the OEM battery for a few days to test this out?