Because LC can't do two things at once.
bobsneidar at iotecdigital.com
Mon Feb 23 18:08:13 CET 2015
Okay I think I have found a way to get the battery status. I checked it on my VM of Windows 7. Your results may vary.
Try shell("WMIC Path Win32_Battery Get Availability”)
Line 3 will contain 2 if the battery is charging, 3 if running on battery, and I am going to say 1 if the battery is fully charged. I’ll have to check that later as my battery is currently charging at the moment.
Now for the teaching moment: WMIC can give you just about any information you want about the hardware you are running on. Spiceworks Inventory and Helpdesk system makes extensive use of WMIC when querying Windows devices.
> On Feb 23, 2015, at 08:00 , Bob Sneidar <bobsneidar at iotecdigital.com> wrote:
> Also found this but it requires something be installed: http://www.nirsoft.net/utils/battery_information_view.html
> Bob S
>> On Feb 23, 2015, at 07:53 , Bob Sneidar <bobsneidar at iotecdigital.com> wrote:
>> I found this: http://www.nextofwindows.com/find-out-how-healthy-your-battery-is-on-your-windows-7-laptop/
>> Bob S
More information about the use-livecode