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.
Title: Re: Advanced Insights - Dual Batteries
Post by: PaulKlerkx on September 07, 2025, 10:26:00 PM
Hi, sorry for the slow reply, i didn't have notifications turned on for this post. 

in Resource explorer, in PMPC Batteries, there is only one battery
in resource explorer, in all the builtin Battery options, there are 2 device ID's showing for each. 

the log has this entry for PMPC_Batteries
****************************** PMPC_Batteries   AI WMI Provider v1.7.0.0   7/09/2025 4:08:05 PM   1 (0x0001)
XML Data: Located   AI WMI Provider v1.7.0.0   7/09/2025 4:08:08 PM   1 (0x0001)
Instances Enumerated: 2   AI WMI Provider v1.7.0.0   7/09/2025 4:08:08 PM   1 (0x0001)
Title: Re: Advanced Insights - Dual Batteries
Post by: Bogdan (Patch My PC) on September 10, 2025, 07:46:27 AM
Hey there!
Could you please upgrade to the latest version of Advanced Insights using the steps in the link below?
🔗 Upgrading Insights
If the issue persists after the upgrade, please go ahead and raise a support case with us.