VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Find out whether or not a laptop is running on battery power and if so how much battery time is rem

Roderick Thompson  (12 Submissions)   Windows API Call/Explanation   VB 6.0   Unknown Difficulty   Sun 1st April 2001   Mon 8th February 2021

Find out whether or not a laptop is running on battery power and if so how much battery time is remaining.

API Declarations


Public Type SYSTEM_POWER_STATUS
ACLineStatus As Byte
BatteryFlag As Byte
BatteryLifePercent As Byte
Reserved1 As Byte
BatteryLifeTime As Long
BatteryFullLifeTime As Long
End Type


Rate Find out whether or not a laptop is running on battery power and if so how much battery time is rem (1(1 Vote))
Find out whether or not a laptop is running on battery power and if so how much battery time is rem.bas

Find out whether or not a laptop is running on battery power and if so how much battery time is rem Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters