Hello @Alfred001,
I don't know if this Battery information will interest you. It contains a LOT of useful information [ taken from one of my Scripts ] though that you might find useful.
Copy & Paste
the following into a CMD Prompt and press Enter
. . .
Battery Information::-
Code:
echo. & PowerShell Get-wmiObject Win32_Battery ^| Format-List ^
@{L=' Name' ;E={;if([string]::IsNullOrWhiteSpace($_.Name)) {'N/A'} else {$_.Name}}}, ^
@{L=' Description' ;E={;if([string]::IsNullOrWhiteSpace($_.Description)) {'N/A'} else {$_.Description}}}, ^
@{L=' Creation Class Name' ;E={;if([string]::IsNullOrWhiteSpace($_.CreationClassName)) {'N/A'} else {$_.CreationClassName}}}, ^
@{L=' Device ID' ;E={;if([string]::IsNullOrWhiteSpace($_.DeviceID)) {'N/A'} else {$_.DeviceID.Trim() -Replace '\s ',' '}}}, ^
@{L=' Path [Relative]' ;E={;if([string]::IsNullOrWhiteSpace($_.__RELPATH)) {'N/A'} else {$_.__RELPATH}}}, ^
@{L=' Availability' ;E={;if([string]::IsNullOrWhiteSpace($_.Availability)) {'N/A'} else {$_.Availability}}}, ^
@{L=' Battery Recharge Time' ;E={;if([string]::IsNullOrWhiteSpace($_.BatteryRechargeTime)) {'N/A'} else {$_.BatteryRechargeTime}}}, ^
@{L=' Battery Status' ;E={;if([string]::IsNullOrWhiteSpace($_.BatteryStatus)) {'N/A'} else {$_.BatteryStatus}}}, ^
@{L=' Chemistry' ;E={;if([string]::IsNullOrWhiteSpace($_.Chemistry)) {'N/A'} else {$_.Chemistry}}}, ^
@{L=' Config Manager User Config' ;E={;if([string]::IsNullOrWhiteSpace($_.ConfigManagerUserConfig)) {'N/A'} else {$_.ConfigManagerUserConfig}}}, ^
@{L=' Config Manager Error Code' ;E={;if([string]::IsNullOrWhiteSpace($_.ConfigManagerErrorCode)) {'N/A'} else {$_.ConfigManagerErrorCode}}}, ^
@{L=' Design Capacity' ;E={;if([string]::IsNullOrWhiteSpace($_.DesignCapacity)) {'N/A'} else {[Math]::Round($_.DesignCapacity / 1, 0).ToString('0,00# mWh')}}}, ^
@{L=' Design Voltage' ;E={;if([string]::IsNullOrWhiteSpace($_.DesignVoltage)) {'N/A'} else {[Math]::Round($_.DesignVoltage / 1, 0).ToString('0,00# mVolts')}}}, ^
@{L=' Last Error Code' ;E={;if([string]::IsNullOrWhiteSpace($_.LastErrorCode)) {'N/A'} else {$_.LastErrorCode}}}, ^
@{L=' Error Cleared' ;E={;if([string]::IsNullOrWhiteSpace($_.ErrorCleared)) {'N/A'} else {$_.ErrorCleared}}}, ^
@{L=' Error Description' ;E={;if([string]::IsNullOrWhiteSpace($_.ErrorDescription)) {'N/A'} else {$_.ErrorDescription}}}, ^
@{L=' Estimated Charge Remaining' ;E={;if([string]::IsNullOrWhiteSpace($_.EstimatedChargeRemaining)) {'N/A'} else {[Math]::Round($_.EstimatedChargeRemaining / 100, 2).ToString('0.00 %%')}}}, ^
@{L=' Estimated Run Time Left' ;E={;if($_.EstimatedRunTime -eq '71582788') {'--^> [Running on AC Power]'} else {$_.EstimatedRunTime.ToString() + ' Minutes'}}}, ^
@{L=' Expected Life' ;E={;if([string]::IsNullOrWhiteSpace($_.ExpectedLife)) {'N/A'} else {$_.ExpectedLife}}}, ^
@{L=' Expected Battery Life' ;E={;if([string]::IsNullOrWhiteSpace($_.ExpectedBatteryLife)) {'N/A'} else {$_.ExpectedBatteryLife}}}, ^
@{L=' Full Charge Capacity' ;E={;if([string]::IsNullOrWhiteSpace($_.FullChargeCapacity)) {'N/A'} else {[Math]::Round($_.FullChargeCapacity / 1, 0).ToString('0,00# mWh')}}}, ^
@{L=' Install Date' ;E={;if([string]::IsNullOrWhiteSpace($_.InstallDate)) {'--^> [NO Date Present]'} else {$_.InstallDate}}}, ^
@{L=' Max Recharge Time' ;E={;if([string]::IsNullOrWhiteSpace($_.MaxRechargeTime)) {'N/A'} else {$_.MaxRechargeTime}}}, ^
@{L=' Power Management Supported' ;E={;if([string]::IsNullOrWhiteSpace($_.PowerManagementSupported)) {'N/A'} else {$_.PowerManagementSupported}}}, ^
@{L=' Power Management Capabilities';E={;if([string]::IsNullOrWhiteSpace($_.PowerManagementCapabilities)) {'N/A'} else {$_.PowerManagementCapabilities}}}, ^
@{L=' Smart Battery Version' ;E={;if([string]::IsNullOrWhiteSpace($_.SmartBatteryVersion)) {'N/A'} else {$_.SmartBatteryVersion}}}, ^
@{L=' System Creation Class Name' ;E={;if([string]::IsNullOrWhiteSpace($_.SystemCreationClassName)) {'N/A'} else {$_.SystemCreationClassName}}}, ^
@{L=' Time On Battery' ;E={;if([string]::IsNullOrWhiteSpace($_.TimeOnBattery)) {'N/A'} else {$_.TimeOnBattery}}}, ^
@{L=' Time To Full Charge' ;E={;if([string]::IsNullOrWhiteSpace($_.TimeToFullCharge)) {'N/A'} else {$_.TimeToFullCharge}}}, ^
@{L=' Scope' ;E={;if([string]::IsNullOrWhiteSpace($_.Scope)) {'N/A'} else {$_.Scope}}}, ^
@{L=' Path' ;E={;if([string]::IsNullOrWhiteSpace($_.Path)) {'N/A'} else {$_.Path}}}, ^
@{L=' Options' ;E={;if([string]::IsNullOrWhiteSpace($_.Options)) {'N/A'} else {$_.Options}}}, ^
@{L=' Class Path' ;E={;if([string]::IsNullOrWhiteSpace($_.ClassPath)) {'N/A'} else {$_.ClassPath}}}, ^
@{L=' Properties' ;E={;if([string]::IsNullOrWhiteSpace($_.Properties)) {'N/A'} else {$_.Properties}}}, ^
@{L=' System Properties' ;E={;if([string]::IsNullOrWhiteSpace($_.SystemProperties)) {'N/A'} else {$_.SystemProperties}}}, ^
@{L=' Qualifiers' ;E={;if([string]::IsNullOrWhiteSpace($_.Qualifiers)) {'N/A'} else {$_.Qualifiers}}}, ^
@{L=' Status' ;E={;if([string]::IsNullOrWhiteSpace($_.Status)) {'N/A'} else {$_.Status}}}, ^
@{L=' Status Info' ;E={;if([string]::IsNullOrWhiteSpace($_.StatusInfo)) {'N/A'} else {$_.StatusInfo}}} ^| ^
Out-String -Width 1000 -Stream ^| Where {$_.Trim().Length -gt 0} & echo.
Battery Status::-
Code:
echo. & PowerShell Get-wmiObject -Class BatteryStatus -Namespace Root\wmi ^| Format-List ^
@{L=' Description' ;E={;if([string]::IsNullOrWhiteSpace($_.Description)) {'N/A'} else {$_.Description}}}, ^
@{L=' Instance Name' ;E={;if([string]::IsNullOrWhiteSpace($_.InstanceName)) {'N/A'} else {$_.InstanceName}}}, ^
@{L=' Path [Relative]' ;E={;if([string]::IsNullOrWhiteSpace($_.__RELPATH)) {'N/A'} else {$_.__RELPATH}}}, ^
@{L=' Voltage' ;E={;if([string]::IsNullOrWhiteSpace($_.Voltage)) {'N/A'} else {[Math]::Round($_.Voltage / 1, 0).ToString('0,00# mVolts')}}}, ^
@{L=' Power Online' ;E={;if([string]::IsNullOrWhiteSpace($_.PowerOnline)) {'N/A'} else {$_.PowerOnline}}}, ^
@{L=' Active' ;E={;if([string]::IsNullOrWhiteSpace($_.Active)) {'N/A'} else {$_.Active}}}, ^
@{L=' Remaining Capacity';E={;if([string]::IsNullOrWhiteSpace($_.RemainingCapacity)) {'N/A'} else {[Math]::Round($_.RemainingCapacity / 1, 0).ToString('0,00# mWh [Milliwatt Hours]')}}}, ^
@{L=' Critical' ;E={;if([string]::IsNullOrWhiteSpace($_.Critical)) {'N/A'} else {$_.Critical}}}, ^
@{L=' Charging' ;E={;if([string]::IsNullOrWhiteSpace($_.Charging)) {'N/A'} else {$_.Charging}}}, ^
@{L=' Charge Rate' ;E={;if([string]::IsNullOrWhiteSpace($_.ChargeRate)) {'N/A'} else {$_.ChargeRate}}}, ^
@{L=' Discharging' ;E={;if([string]::IsNullOrWhiteSpace($_.Discharging)) {'N/A'} else {$_.Discharging}}}, ^
@{L=' Discharge Rate' ;E={;if([string]::IsNullOrWhiteSpace($_.DischargeRate)) {'N/A'} else {$_.DischargeRate}}}, ^
@{L=' Tag' ;E={;if([string]::IsNullOrWhiteSpace($_.Tag)) {'N/A'} else {$_.Tag}}}, ^
@{L=' Timestamp_Object' ;E={;if([string]::IsNullOrWhiteSpace($_.Timestamp_Object)) {'N/A'} else {$_.Timestamp_Object}}}, ^
@{L=' Timestamp_PerfTime';E={;if([string]::IsNullOrWhiteSpace($_.Timestamp_PerfTime)) {'N/A'} else {$_.Timestamp_PerfTime}}}, ^
@{L=' Timestamp_Sys100NS';E={;if([string]::IsNullOrWhiteSpace($_.Timestamp_Sys100NS)) {'N/A'} else {$_.Timestamp_Sys100NS}}}, ^
@{L=' Scope' ;E={;if([string]::IsNullOrWhiteSpace($_.Scope)) {'N/A'} else {$_.Scope}}}, ^
@{L=' Path' ;E={;if([string]::IsNullOrWhiteSpace($_.Path)) {'N/A'} else {$_.Path}}}, ^
@{L=' Options' ;E={;if([string]::IsNullOrWhiteSpace($_.Options)) {'N/A'} else {$_.Options}}}, ^
@{L=' Class Path' ;E={;if([string]::IsNullOrWhiteSpace($_.ClassPath)) {'N/A'} else {$_.ClassPath}}}, ^
@{L=' Properties' ;E={;if([string]::IsNullOrWhiteSpace($_.Properties)) {'N/A'} else {$_.Properties}}}, ^
@{L=' System Properties' ;E={;if([string]::IsNullOrWhiteSpace($_.SystemProperties)) {'N/A'} else {$_.SystemProperties}}}, ^
@{L=' Qualifiers' ;E={;if([string]::IsNullOrWhiteSpace($_.Qualifiers)) {'N/A'} else {$_.Qualifiers}}} ^| ^
Out-String -Width 1000 -Stream ^| Where {$_.Trim().Length -gt 0}
I hope this helps.