RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

Battery Management Unit Variables

Programmer's Reference Manuals
» Part 15 – SWI Calls
» Portable
» Battery Management Unit Variables

Battery Management Unit Variables

Variables

# Description
0 Version number and memory map of BMU microcode
1 Battery capacity (nominal)
2 Battery capacity (measured)
3 Battery capacity (used)
4 Battery capacity (useable)
5 (reserved)
6 Charge estimate (may be written to)
7 Instantaneous voltage
8 Instantaneous current
9 Instantaneous temperature
10 Flags
11 Charge rate (in bits 4 – 7)
12 Charge current
13 Discharge current
14 Voltage
15 Temperature 1
16 Temperature 2
17 Charge level
18 Status flags (as variable 10)
19 Input signals
20 Battery capacity
21 Battery time remaining, in seconds
22 Max battery life, in seconds

Flags

# Meaning when set
0 Battery has been changed (threshold 3)
1 Lid open
2 Battery flat (threshold 2 reached) [shutdown now]
3 Battery low (threshold 1 reached) [warn user]
4 Fault in charging system
5 Charge state known
6 Battery present
7 Charger connected

Notes

Not all BMU variables or flags are available in all variants of the module. See the Portable Feature Matrix for more details (BMU variables, flags)

See also

  • Portable SWI Calls
  • Portable_ReadBMUVariable
  • Portable_WriteBMUVariable
  • Portable Feature Matrix
Revised on March 19, 2011 19:56:02 by Jeffrey Lee (213) (91.84.11.161)
Edit | Back in time (2 revisions) | See changes | History | Views: Print | Source | Linked from: Portable_WriteBMUVariable, Portable_ReadBMUVariable, Portable SWI Calls

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2011 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys