Home   |   Products   |   Support   |   About


aaxBattery ActiveX Control
 


The aaxBattery ActiveX Control is a module that gives you the state of the battery on your laptop/notebook computer. With this component, you can:

- Get the battery life in percent and time;
- Get the charging status of the battery;
- Get the AC Line state;

 

This component comes with full documentation and many Visual Basic samples.


Usage sample:

Dim b As Boolean
Dim l As Long

' Get boolean values
b = aaxBattery1.IsBatteryAvailable()
b = aaxBattery1.IsACLineConnected()
b = aaxBattery1.IsCharging()

' Get battery percentage remaining
l = aaxBattery1.GetLifePercent()

' Get battery life time remaining, in seconds
l = aaxBattery1.GetLifeTime()
 

 

 
Download Trial
 
Buy Now ($25)
 
Documentation
 

- Awards -

 

 

 

Download Trial  Buy Now ($25) Documentation