change power settings based on location

lpoulter

New member
Local time
2:40 PM
Messages
1
Hi is there anyway to automatically switch power setting based on my location. Say if I'm connected to my home network be in high performance mode. Or perhaps a program that does this? If not does anyone know how I might go about creating one ( I'm a computer science student) thanks, Laurie
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Home Premium 64bit.
No, i do not think that there is a way to do that.
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Dell
OS
Windows 7 Home Premium 64bit
CPU
Intel i7
Graphics Card(s)
NVIDIA GeForce 650m
Antivirus
AVG free
Browser
Chrome
Hi is there anyway to automatically switch power setting based on my location. Say if I'm connected to my home network be in high performance mode. Or perhaps a program that does this? If not does anyone know how I might go about creating one ( I'm a computer science student) thanks, Laurie
Welcome to the Seven Forums.

What a great opportunity to write your own tool to do this. Even if you found one that someone else wrote, chances are, it would not function exactly the way you want it to.

You can use the info here...
Powercfg Command-Line Options
...to change the power settings.

To automatically detect when you are home, look* for your router. If your router is found, then change to the desired power configuration. If your router is not found (e.g. you are not home), have your app sleep for a few minutes, then ping again. Or, if you have a file server at home, look for a certain file (perhaps via UNC).

*Set the router to an unusual IP address and ping that. Pick an IP that you would have little chance encountering elsewhere. Or even better, look for the mac address of the router:
Code:
arp -a 192.168.0.1
(where 192.168.0.1 is your router's IP address)


You can write this all using Windows PowerShell or a tool like AutoIt3 or AutoHotKey or .....

Let us know how it goes.
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Employer provided Dell Latitude
OS
W7 Pro SP1 64bit
CPU
i7
Memory
8GB
Graphics Card(s)
Intel HD Graphics
Hard Drives
crappy SSD
Antivirus
Employer mandated Symantec Endpoint Protection
Browser
Pale Moon 64bit, IE11 64bit & Chrome 64bit

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Back
Top