Simple VBS script (save it as .vbs file and run) to get once the laptop battery is charged up to given (90 in this case) percentage.
set oLocator = CreateObject("WbemScripting.SWbemLocator")
set oServices = oLocator.ConnectServer(".","root\wmi")
set oResults = oServices.ExecQuery("select * from batteryfullchargedcapacity")
for each oResult in oResults
iFull = oResult.FullChargedCapacity
set oResults = oServices.ExecQuery("select * from batterystatus")
for each oResult in oResults
iRemaining = oResult.RemainingCapacity
bCharging = oResult.Charging
iPercent = ((iRemaining / iFull) * 100) mod 100
if bCharging and (iPercent > 90) Then msgbox "Battery is at " & iPercent & "%",vbInformation, "Battery monitor"
wscript.sleep 30000 ' 5 minutes
I am feeling proud to write about the first event regional marketplace community building event ‘Marketplace Day’ organized by us in Hyderabad. Unlike its name, it was actually an over night event 😉 and 25 enthusiastic participants and volunteers (who were curated based on their application form) woke up whole night to work on marketplace bugs. You can read full report about the event flow and report at my post on
As a summary, the event was all about –
- 25 Hackers with open eyes whole night
- 15 Night Hours of Fun
- Sukhwinder Singh Sehgal helped fellow participants in setting up the fireplace.
- Saahiljeet Singh not only worked on fixing bugs, but also submitted 5 new bugs.
- Manoj Kumar, Jaipal Singh Goud, Bharath submitted most number of Pull Requests.
Friend of Mozilla :
Thanks a lot Amy for giving updates about this event at last week’s project meeting and getting me the shout-outs. I loved to see my name mentioned as the newest Friend of Mozilla on the meeting notes at https://wiki.mozilla.org/WeeklyUpdates/2015-05-18#Friends_of_Mozilla_Friends_of_Mozilla.
Few more event related links
Ever wondered how volunteers contribute to code base of open source ? Do you want to be one. Here is the opportunity – Marketplace Day (Hyderabad), an event completely dedicated to Mozilla’s Firefox Marketplace Code Contribution. If you are in and around Hyderabad India, please join us for the event.
We will learn
We will learn things necessary for getting started with code-base contribution
Registration are open now !
Other useful links :
- Contributing to the Mozilla codebase :
- Simple Firefox build :
- Finding Bugs :
- Tracking Bugs :
Steps to build Firefox on Linux:
1. One-Line Bootstrapping
You can attempt running our system bootstrapping script to install all system dependencies:
” wget https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py && python bootstrap.py ”
2. Get source code
” git clone https://git.mozilla.org/integration/gecko-dev.git ”
* You may get error saying – The program ‘hg’ is currently not installed.
Simply install hg using – sudo apt-get install mercurial
3. After successfully building Firefox, follow