Changes

186 bytes added ,  02:54, 18 April 2011
Line 144: Line 144:  
|  0x20
 
|  0x20
 
|  1
 
|  1
|  Battery flags. When zero the battery is at critical level, arm7 does a shutdown. Bit7 is set when the battery is charging. When the battery icon is full bars, this is 0x0F, and when the battery icon has one solid red bar left this is 0x03. When there's two bars in the battery icon this value is 0x07.
+
|  Battery flags. When zero the battery is at critical level, arm7 does a shutdown. Bit7 is set when the battery is charging. When the battery icon is full bars, low 4-bits are 0xF, and when the battery icon has one solid red bar left this is 0x3. When there's two bars in the battery icon this is 0x7, for three bars 0xb. When plugging in or removing recharge cord, this value increases/decreases between the real battery level and 0xF, thus the battery level while bit7 is set is useless.
 
|-
 
|-
 
|  0x21
 
|  0x21