How the low battery message graphic is loaded? When your iPhone battery is "almost" dead, it turn off, and then if you want to turn it on again it loads this very informative graphic: 



The problem is that when you turn on "power button" this picture show up almost immediately, without starting up operating system or anything.

I just wonder how they done it ? Is this behaviour is hardcoded in hardware ? Is it configurable and could be changed (to flatter design) when iOS 7 will come ? 

My understanding is that, they have to make it in hardware, make special circuit that when battery sensor inform about very low battery status, show this picture.

PS: I saw similar behaviour in Nexus 7 (2013)
I believe it's just an early stage of the bootloader that checks to see if the battery has enough charge before going on to boot iOS. It's no different from being able to display the Apple logo while iOS is booting.

If you download one of the IPSW files (iOS images), you can unzip it and find several images inside - applelogo, batterylow, glyphplugin, and so on. A full listing can be found on this page: IPSW File Format, and I also came across this page which has instructions for replacing the low battery image with something else (essentially just replacing the file inside the IPSW with another one in the correct format).

That would seem to indicate that iOS 7 will (or does) have a new version of the image for all devices, just like it has a flatter Apple logo at boot time.