Hope it'll work. It worked for me when I was on a desktop computer with a UPS, but this was many years ago.
It is currently October 5th, 2024, 5:00 pm
Battery
-
- Rainmeter Sage
- Posts: 16631
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Battery
-
- Posts: 8
- Joined: July 1st, 2023, 8:25 pm
Re: Battery
Hi. I just went through a power outage, I took screenshots and it seems the Skins aren't working. I hit them on Refresh and they still wouldn't charge my battery percentage.
You do not have the required permissions to view the files attached to this post.
-
- Rainmeter Sage
- Posts: 8350
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Battery
Just to see if it works, can you test the PowerShell commands here (mostly the code in the 2nd box)? Sure, this isn't by any means a good way to do constant monitoring, because it woud mean running PS at every time interval that represents your desired monitor frequency, but it's important to have a way that you CAN get the UPS charge in Rainmeter, if the standard Power plugin does not.
Also, can't you just simulate a power outage? You know, pulling out the AC wire, that kind of things. It makes no sense to wait for a random power outage to occur when you can simulate its conditions to do your tests and see if stuff works. Just saying...
-
- Rainmeter Sage
- Posts: 2742
- Joined: March 23rd, 2015, 5:26 pm
Re: Battery
Correct. The reason is that it appears you are using an external UPS, not a battery in a laptop. Is this right? In that case, neither Rainmeter nor the Win32/WMI API calls will help you. You need to use HWiNFO to see externally connected UPS's, and a skin that uses HWiNFO. You also need your UPS connected to your PC.
-
- Rainmeter Sage
- Posts: 8350
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Battery
Well, that explains it... albeit, if that was true, then how come balala got the UPS charge back when he built this skin?SilverAzide wrote: ↑July 5th, 2023, 6:44 pmIn that case, neither Rainmeter nor the Win32/WMI API calls will help you. You need to use HWiNFO to see externally connected UPS's, and a skin that uses HWiNFO.
-
- Posts: 8
- Joined: July 1st, 2023, 8:25 pm
Re: Battery
Maybe it works on Windows 7. I used that Orange Skin on W7 with a Tripplite UPS and it did work. I can't imagine Windows 11 that is worse.Yincognito wrote: ↑July 5th, 2023, 7:06 pm Well, that explains it... albeit, if that was true, then how come balala got the UPS charge back when he built this skin?
You do not have the required permissions to view the files attached to this post.
-
- Rainmeter Sage
- Posts: 8350
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Battery
Maybe. However, a comparison with a different UPS, different UPS software, and a different skin isn't telling the whole story.
Ah, you're one of those that still believe newer is always better, huh?
----------
By the way, did you try to do it as SilverAzide advised? Does it work like that?
-
- Rainmeter Sage
- Posts: 16631
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Battery
Even with an external UPS, if it's properly connected and its software is properly installed, it should work. I know this, because as said, I tried it many years ago. Unfortunately can't confirm it works for instance on Windows 10, because I don't have the UPS, so can't try it out anymore. But definitely worked even with external UPS, at least on Windows 7.SilverAzide wrote: ↑July 5th, 2023, 6:44 pm Correct. The reason is that it appears you are using an external UPS, not a battery in a laptop. Is this right? In that case, neither Rainmeter nor the Win32/WMI API calls will help you. You need to use HWiNFO to see externally connected UPS's, and a skin that uses HWiNFO. You also need your UPS connected to your PC.
-
- Rainmeter Sage
- Posts: 2742
- Joined: March 23rd, 2015, 5:26 pm
Re: Battery
The key words in your statement being... "IF it's properly connected AND its software is properly installed". The OP has not said whether either of these conditions are true. Based on his results, I am doubtful.balala wrote: ↑July 5th, 2023, 8:36 pm Even with an external UPS, if it's properly connected and its software is properly installed, it should work. I know this, because as said, I tried it many years ago. Unfortunately can't confirm it works for instance on Windows 10, because I don't have the UPS, so can't try it out anymore. But definitely worked even with external UPS, at least on Windows 7.
-
- Posts: 8
- Joined: July 1st, 2023, 8:25 pm
Re: Battery
The software was installed from the original CD, It is running without problem. When the AC cuts off and the batteries are activated, it shows me.SilverAzide wrote: ↑July 5th, 2023, 8:47 pm The key words in your statement being... "IF it's properly connected AND its software is properly installed". The OP has not said whether either of these conditions are true. Based on his results, I am doubtful.
I have the UPS connected via USB. Possibly it is Windows 10, I have already checked with several Skins and it still does not work
You do not have the required permissions to view the files attached to this post.