• Welcome to Support Forum: Get Support for Patch My PC Products and Services.
 

Advanced Insights - Dual Batteries

Started by PaulKlerkx, February 10, 2025, 11:39:34 PM

Previous topic - Next topic

PaulKlerkx

Hi, in case no-one has picked it up, I thought I should point out for devices with a dual battery like the Dell Latitude 7220 Rugged Extreme; the AI dashboard only shows data for one battery.
 
I have a script that does various queries of machines and writes that data to network logs. 
one of the things that it does is check the health of the batteries and write that to the logs if they are below 70%.  it writes back for both batteries for these machines. 
Someone pointed out the missing battery in AI when I was explaining the script to them.   

If of use, the battery count can be achieved with Powershell using.
$Batterycount = @(Get-CimInstance -ClassName Win32_Battery).Count



Bogdan (Patch My PC)

Thank you! That's a great idea. I really appreciate your input. Could you please create an idea based on https://ideas.patchmypc.com/ideas/search?category=6706577541791499715&&query=version%20control
 I'm excited to see how it turns out!

Bogdan (Patch My PC)

Hey there! Could you please check the PMPCInventory.log on the affected client? Also, when you open the resource explorer, can you see the 2 batteries in the PMPC_Battery class? If you need any help with this, feel free to open a case with us.