Now before you guys disvote this question, let me explain. I've been messing with lithium polymer batteries for 8 years (I work in a shop repairing electronics) and I have studied the behavior of Lithium Polymer batteries.
It kinda bugs me when my phone automatically shuts down when battery level is said to be 0%. In these moments I usually am finishing almost done watching a video or writing up a text to someone and my phone completely interrupts all operations and shuts down. I know for a fact that as when it shuts down there still is enough power left to run the phone for another 4 emergency minutes.
Is there a way I can emulate the operating system into thinking I have a higher percentage of power left so that it wouldn't shut down right away? I know this sounds risky, but I am aware of what's really happening here. My system is Nexus 4 running android 4.4 (fully rooted).