NAOqi Sensors - Overview | API
See also
Namespace : AL
#include <alproxies/albatteryproxy.h>
As any module, this module inherits methods from ALModule API. It also has the following specific methods:
Pepper Only.
Raised when the power hatch is opened or closed.
Parameters: |
|
---|
Raised when the charger is plugged and unplugged.
Caution: some battery models do not provide information whether the power is plugged or not. In this case, we determine power plugged state with electric current. Unfortunately when the battery is fully charged, the charger stops supplying current. So this event is not raised when battery is fully charged.
For further details see: Battery Hardware.
Parameters: |
|
---|
Raised when the Minimum cell voltage of the battery changes.
Parameters: |
|
---|
Raised when the flag “battery is charging” changes.
Parameters: |
|
---|
Raised when the flag “battery is fully charged” changes.
Parameters: |
|
---|
Raised when the flag “battery is discharging” changes.
Parameters: |
|
---|
Raised when the battery level percentage changes.
Parameters: |
|
---|
Raised when the battery is empty.
Parameters: |
|
---|
Raised when the battery level is low.
Parameters: |
|
---|
Raised when the battery is nearly empty and needs charging.
Parameters: |
|
---|
Raised when the battery is not detected.
Parameters: |
|
---|