My headset has software that tells me the battery left on it. I was curious how I would monitor that battery with my own program?
I want to make my own tray icon that just tells me the battery power, instead of having to open and navigate through the headset's bundled software to find it. But I have no clue where such information is stored on my computer. Or how to find out.
Logitech G930, ftr.
Results 1 to 14 of 14
Thread: Battery Monitor?
- 11 Apr. 2015 05:07am #1
Battery Monitor?
- 11 Apr. 2015 06:20pm #2
Sounds like a type of task AutoIt is good for. There's a library that might be able to do what you're trying to accomplish here
I'll give you a hint though, it's definitely something you don't want to use PHP for. (chuckle)I'm lightning on my feet
- 11 Apr. 2015 06:24pm #3
- Join Date
- Apr. 2013
- Location
- Minnesota
- Posts
- 1,325
- Reputation
- 114
- LCash
- 0.00
why not python
- 11 Apr. 2015 06:28pm #4
Probably because he doesn't need it trk across different operating systems and is likely infinitely easier to do in AutoIt or a similar Windows language (i.e. C#).
A simple language for a (relatively) simple task, no?I'm lightning on my feet
- 12 Apr. 2015 01:40am #5
I'm obviously not using PHP. I want a notification tray icon.
Your link is for monitoring the battery life of a laptop. I'm looking to monitor the battery life of a headset attached by USB.
It is probably a DllCall() to some DLL that comes with the headset software. Any idea how to go about finding what DLL, and what DllCall to use? Is there some way to "see what DLLs are being used" when I open my headset software?
I'll use any language. I just need to know how to get the battery meter.
- 16 Apr. 2015 10:12am #6
- 16 Apr. 2015 08:53pm #7
If you're on windows just hit "tasklist /m" from CMD or Powershell
Otherwise use Visual Studio's Dependency Walker for a more detailed analysis.I don't get tired.
- 17 Apr. 2015 02:55am #8
It says "N/A" next to LCore.exe (the program that shows the battery).
So, it's not a DLL?
- 17 Apr. 2015 05:18am #9
- 17 Apr. 2015 06:15pm #10
- 17 Apr. 2015 11:15pm #11
- 19 Apr. 2015 07:43pm #12
- 20 Apr. 2015 04:26am #13
Well, I think your best bet would be to try Process Memory Reading then if you don't care if the manufactures software is running.
A long shot would be trying to contact a developer in Logitech to see what they say.
- 07 May. 2015 02:19am #14