Changes

278 bytes added ,  18:30, 2 July 2017
Line 14: Line 14:     
=Description=
 
=Description=
Returns the battery voltage in an unknown format.
+
Returns a number which can be used to calculate the voltage using this formula: <code>magic * (voltage / 256)</code> where <code>magic</code> is a constant number which seems to range somewhere between <code>4.6</code> and <code>5.0</code>. Based on calculations and battery behavior it seems like it's indeed <code>5.0</code>.
     
215

edits