Android Century
  • Home
  • Android Zone
    • Android Apps
    • Android Games
    • Apps APk Files
    • Games Apk Files
    • Apps Hack Tricks
  • Reviews
  • Fantasy Zone
    • Entertainment
    • Quotes and Status
    • Life Style
    • Home Made Tips
    • Hair Care
    • Skin Care
    • Fantasy Tips
  • Tricks
    • Free Recharge
    • Free Internet
    • shopping Cashback
    • Recharge Cashback
  • Tech
  • Mobiles
  • Gadgets
  • News
  • How To's
  • Software
Breaking
Loading...

Featured post

How to Take Great Photos With Apple's iPhone X

Recent Posts

Labels

  • Android Apk Files
  • Android Apps
  • Android Games
  • Apps Apk Files
  • Entertainment
  • Fantasy Tips
  • Gadgets
  • Hair Care
  • HomeMade Tips
  • How To's
  • News
  • Quotes
  • Quotes & Status
  • Recharge Cashback
  • Recharge Promo Codes
  • Shopping Cashback
  • Technology
  • skin care
Home / How To's / Can I Use Task Scheduler to Monitor My Computer’s Battery?

Can I Use Task Scheduler to Monitor My Computer’s Battery?

Latest Govt. Jobs 13:00:00 How To's Edit

how-do-you-create-a-task-in-task-scheduler-for-battery-level-changes-00
If you like to keep a close eye on your laptop’s battery charge level, then you may be looking for a built-in way to help monitor it while you are busy working. Is there one or do you need a custom solution? Today’s SuperUser Q&A post has the answer to a battery monitoring reader’s question.
Today’s Question & Answer session comes to us courtesy of SuperUser—a subdivision of Stack Exchange, a community-driven grouping of Q&A web sites.

The Question

SuperUser reader MiHa wants to know how to create a task in Task Scheduler for battery level changes on his laptop:
I need to create a task in Task Scheduler based on battery level changes. For example, say my laptop’s battery drops from 67 percent to 66 percent charge remaining. How can I run a task based on this event? Does Windows log this at all? I was unable to find information on this anywhere.
How do you create a task in Task Scheduler for battery level changes?

The Answer

SuperUser contributor DavidPostill has the answer for us:
I Need to Create a Task in Task Scheduler Based on Battery Level Changes
Windows does not log this kind of information/details as events. You can, however, use something like the batch file below and create a custom event.
Battery.cmd
This batch file monitors the current battery percentage charge and creates a user defined event if the charge drops below a user defined threshold value.
how-do-you-create-a-task-in-task-scheduler-for-battery-level-changes-01
Notes:
  • The eventcreate command works on Windows XP up to and including Windows 10. It requires administrator privileges to work.
  • Set _threshold as required.
  • If the battery falls below this value, an event with ID 999 will be generated in the APPLICATION event log with the description “Battery charge has dropped”.
  • Modify the eventcreate command as required for your situation.
  • Modify the timeout delay as required for your situation.
Example Output
My battery currently has a charge of 81 percent. I set the threshold to 82 percent. Here is what happens when I run Battery.cmd:
how-do-you-create-a-task-in-task-scheduler-for-battery-level-changes-02
And here is the new entry in the Event Log:
how-do-you-create-a-task-in-task-scheduler-for-battery-level-changes-03
EventCreate Syntax
how-do-you-create-a-task-in-task-scheduler-for-battery-level-changes-04
Further Reading
  • An A-Z Index of the Windows CMD Command Line – An excellent reference for all things Windows command line related.
  • eventcreate – Create a custom event in the Windows Event Viewer.
  • schtasks – Create or edit a scheduled job/task. The job can be created on a local or remote computer.
  • wmic – Windows Management Instrumentation Command.

Have something to add to the explanation? Sound off in the comments. Want to read more answers from other tech-savvy Stack Exchange users? 
Share on Facebook Share on Twitter Share on Google Plus

RELATED POSTS


How to HACK Google Play Music App

How to get BookMyShow Instant Disco...

How To Get Free Recharge And Money ...
Can I Use Task Scheduler to Monitor My Computer’s Battery? Can I Use Task Scheduler to Monitor My Computer’s Battery? Reviewed by Latest Govt. Jobs on 13:00:00 Rating: 5

0 comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments ( Atom )

Search This Blog

TEST BOOK FOR GOVT ENTRANCE TEST

TEST BOOK FOR GOVT ENTRANCE TEST
Find All Latest book for preparation of SSC,RAILWAYBANK PO,RBI,BANK CLERK,GATE ME,GATE CE are available here in less prices, to check out the books click here

Translate

  • Popular Post
  • Random posts
  • Category

Popular Posts

  • Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Refer & Earn Offer:  Hey Guys! Today I make an article about Teen Patti Referral ...
  • Taotronics TT-BH22 Headphones Review
    We make it a addiction to now not look up pricing of a product sooner than reviewing and if ...
  • Reliance Jio to offer sharp tariff discounts for customers signing up by March-end
    Reliance Industries' Jio unit will charge a tariff for its services from April, but will offer ...
  • Pentagon strongly condemns North Korea missile test
    The Pentagon on Monday strongly condemned North Korea’s latest missile test, adding that the ...
  • Fitbit Zip 2017 review
    Fitbit PROS: Clever, accurate tracking Expandable online service Integration with 3rd ...
  • Bank wallets growing faster than e-wallets
    In the  bank  versus  e-wallets  sweepstakes,  lenders  have now gained lost ground. As of ...

Random Posts

  • Everything we think we know about Samsung’s Galaxy Tab S3
    Everything we think we know about Samsung’s Galaxy Tab S3
    16.02.2017 - 0 Comments
    It’s been a long time since there’s been any news about a premium Android tablet. What was once a…
  • OpenSports connects you with other players in your neighbourhood
    OpenSports connects you with other players in your neighbourhood
    18.12.2016 - 0 Comments
    The OpenSports app launched in June 2016 with the intent to remove barriers and connect people to…
  • How to Send and Receive Faxes Online Without a Fax Machine or Phone Line
    How to Send and Receive Faxes Online Without a Fax Machine or Phone Line
    27.01.2018 - 0 Comments
    Some slow-moving businesses and government agencies may not accept documents over email, forcing you to…
  •  Star Trek tricorder, half Doctor Who’s sonic screwdriver
    Star Trek tricorder, half Doctor Who’s sonic screwdriver
    10.03.2017 - 0 Comments
    This one is straight out of the science-fiction stories we’re all familiar with – scientists at the…
  • Qualcomm says Broadcom deal may lead to loss
    Qualcomm says Broadcom deal may lead to loss
    10.02.2018 - 0 Comments
    Qualcomm Inc said on Friday that it might lose two major customers if the revised $121 billion deal with…

Labels

Android Apk Files Android Apps Android Games Apps Apk Files Apps Hack Tricks Entertainment Free Internet Freecharge Gadgets Games Apk Files How To's Laptops Guide Mobiles Reviews Technology Viral's android zone free recharge

Entertainment

Tricks

Popular Posts

  • Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Refer & ...
  • Taotronics TT-BH22 Headphones Review
    We make it a ...
  • Bank wallets growing faster than e-wallets
    In the  bank ...
  • Hands-on with the home windows 10 Creators update for the Xbox One: Beam recreation streaming arrives
    The Windows ...
  • Pentagon strongly condemns North Korea missile test
    The Pentagon on ...
  • Reliance Jio to offer sharp tariff discounts for customers signing up by March-end
    Reliance Industries' Jio unit will charge a tariff for its services from April, but will offer ...
  • Fitbit Zip 2017 review
    Fitbit PROS ...

Random Posts

  • How to root Android 5.0/5.1 (Lollipop) with KingoRoot APK
    How to root Android 5.0/5.1 (Lollipop) with KingoRoot APK
    18.02.2017 - 0 Comments
    Many Android users now wonder how to root Android 5.0/5.1 (lollipop) since it has been released for quite…
  • Review: Toshiba Chromebook 2
    Review: Toshiba Chromebook 2
    16.02.2017 - 0 Comments
    Toshiba VERDICT A little short on battery life and savings, this updated, thin and light 13-inch laptop…
  • Dear Grandma, Thank You For These Beauty Secrets
    Dear Grandma, Thank You For These Beauty Secrets
    13.05.2016 - 0 Comments
    Approaching Grandma for beauty tips might not be the very first thing you would think of doing. But she was…
  • How to Route All Audio Through the PlayStation 4 DualShock Controller
    How to Route All Audio Through the PlayStation 4 DualShock Controller
    11.03.2017 - 0 Comments
    There comes a time in every person’s life when they just need to play a game without disturbing…
  • what's in Samsung's Galaxy S8 and S8+ smartphones?
    what's in Samsung's Galaxy S8 and S8+ smartphones?
    30.03.2017 - 0 Comments
    Samsung's new Galaxy S8 and S8+ smartphones look beautiful, and are loaded with new features that could…

Most Popular

  • Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Refer & ...
  • SAMSUNG GALAXY J7 (2016) REVIEWS
    SAMSUNG GALAXY J7 (2016) REVIEWS
    SAMSUNG GALAXY J ...
  • Top 5 Best SmartPhones under 7000 Rs (March 2017)
    Looking for the ...
  • Apple, IBM, Cisco are huge because of Indians, do not deny them H-1B visa: RBI Governor Urjit Patel
    ...
  • SAMSUNG GALAXY J7 (2016) Specifications
    SAMSUNG GALAXY J ...
  • BlackBerry Teases Marshmallow Beta Testing for Priv by Next Week
    Blackberry ...
  • LG Q6 Review
    LG Q6 Review
    2017 is ...

Contact Form

Name

Email *

Message *

Offers Zone

Created By Android Century Distributed by Android Century
  • Home
  • About us
  • Contact us
  • Privacy policy
  • Terms of use
  • Advertise here
Subscribe Via Email Subscribe To Android Century By Email And Get Free Updates. ;-)


Your email address is safe with us!