Support Forum: Get Support for Patch My PC Products and Services

Commercial Products: Support for Our Enterprise Product for Microsoft ConfigMgr and Intune => Commercial/Paid Products: Support and General Questions (ConfigMgr and Intune) => Topic started by: PaulKlerkx on February 10, 2025, 11:39:34 PM

Title: Advanced Insights - Dual Batteries
Post by: PaulKlerkx on February 10, 2025, 11:39:34 PM
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


Title: Re: Advanced Insights - Dual Batteries
Post by: Bogdan (Patch My PC) on February 11, 2025, 02:45:46 AM
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!
Title: Re: Advanced Insights - Dual Batteries
Post by: Bogdan (Patch My PC) on February 11, 2025, 06:19:06 AM
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.