h6. [[Portable]] h6(. » [[Portable SWI Calls|SWI Calls]] h6((. » Portable_ReadBMUVariable h2. Portable_ReadBMUVariable h5. (SWI &42FC2) |_<^{width:4em}. Entry | | |/2<^. R0 |<^. Bits 0-23: [[Battery Management Unit Variables|BMU variable number]]| |<^. Bits 24-31: BMU number | |_<^{width:4em}. Exit | | |<^. R0 |<^. Preserved| |<^. R1 |<^. Value| h4. Use The purpose of this call is to read the Battery Management Unit (BMU) variables. h4. Notes If your code wants to read multiple variables, [[Portable_ReadBMUVariables]] is recommended. The BMU settings can be set by using [[Portable_WriteBMUVariable]]. On the A4 and Stork versions of the Portable module, the variable with was 8 bits. The charge estimate (variable 6) would be returned as 255 if its value is unknown. On the HAL version of the Portable module, the variable width has been increased to 32 bits, and -1 is returned for any unknown values. The measurement units used by some variables has also been changed. h4. See also * [[Portable_WriteBMUVariable]] * [[Portable_ReadBMUVariables]] * [[Battery Management Unit Variables]]