c - Laptop Battery Status? -
Is there a way to get battery status (charging / discharging / current charge / capacity / etc ...) + Programmable between Windows in a portable way; Linux I am doing a small program for my use and need some help with it. Please see the details of the program on your blog:
In addition, there is actually a way to see if a computer is currently connected to the Internet or not. Currently looking at www.google.com and seeing if I get a "503 error" in return. Any better way to do this? I am using libCurl for the web interface portion of my program, but I would like to know what better options are ...
-
There is no portable way to get battery status between windows and Linux. You have to ask a different API. You have to see if someone has a cover for this, but chances are you have to do it yourself (perhaps you were asking if there is a rapper or library?)
-
There are so many ways to see that a computer is connected to the internet, but they basically all boil possibly to ping a host (such as Google) I connect http Instead of ping sub Yoga I have many libraries to do my own ping (without calling any program).
Comments
Post a Comment