Türkçeye Sistem Uyku Teşhis raporu olarak çevrilebilen System Sleep Diagnostics Raporunu almak için Yönetici komut isteminden bir kod çalıştırmak yeterlidir.
seen from China
seen from United States
seen from Argentina
seen from Russia

seen from United States

seen from United States

seen from Malaysia
seen from Russia

seen from Malaysia
seen from Canada
seen from United States

seen from United States
seen from United States
seen from Türkiye
seen from United States

seen from Germany

seen from Malaysia
seen from United States
seen from Malaysia

seen from United States
Türkçeye Sistem Uyku Teşhis raporu olarak çevrilebilen System Sleep Diagnostics Raporunu almak için Yönetici komut isteminden bir kod çalıştırmak yeterlidir.
筆電電池健不健康?免裝程式工具,一行指令自動生成詳細報表!
上個星期阿祥準備把少用到的小筆電壹號本 One Mix 3 賣掉,買家也提醒我是否可以提供筆電電池的健康狀況,於是後來上網看了一下,發現到除了透過專用的偵測工具來查詢相關數據,原來在 Windows 10 系統中,就內建有自動生成電池使用狀態的功能,如此一來不用花時間下載應用程式並安裝了,真的比想像還簡單。
(more…)
View On WordPress
Use the Hidden PowerCfg Tool to Optimize Battery Life on Windows
Use the Hidden PowerCfg Tool to Optimize Battery Life on Windows
The PowerCfg command is a hidden tool on Windows. Beyond just tweaking power-management settings, it can generate some sophisticated HTML reports on Windows 7, 8, and 10. To use this tool, open an administrator Command Prompt window. On Windows 8, 8.1, or 10, right-click in the bottom-left corner of the screen or press Windows Key + X and select Command Prompt (Admin). On Windows 7, locate the…
View On WordPress
Battery Report and SleepStudy Report
On the Surface subreddit (http://www.reddit.com/r/Surface) I found people mention the "Battery Report" and "SleepStudy Report" pieces of the Windows command line tool "powercfg". Here are a couple of small batch (.bat) files you can make to run the reports and open the result in your web browser, then delete the report file when done to keep things tidy. These reports can help you monitor your computer's battery usage and sleep activity. Battery Report does not need admin privileges so that script is very simple, but the SleepStudy one does, so there is extra code to create the UAC window for admin privileges. (UAC code found here: http://stackoverflow.com/questions/1894967/how-to-request-administrator-access-inside-a-batch-file originally https://sites.google.com/site/eneerge/scripts/batchgotadmin)
Run Battery Report.bat
cd %HOMEPATH% powercfg /BATTERYREPORT battery-report.html del battery-report.html
Run SleepStudy Report.bat
@echo off :: BatchGotAdmin :------------------------------------- REM --> Check for permissions >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" REM --> If error flag set, we do not have admin. if '%errorlevel%' NEQ '0' ( echo Requesting administrative privileges... goto UACPrompt ) else ( goto gotAdmin ) :UACPrompt echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" set params = %*:"="" echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" "%temp%\getadmin.vbs" del "%temp%\getadmin.vbs" exit /B :gotAdmin pushd "%CD%" CD /D "%~dp0" :-------------------------------------- cd %HOMEPATH% powercfg sleepstudy sleepstudy-report.html del sleepstudy-report.html
Powercfg Command-Line Options in Windows 7
何故かVistaのTechnical Referenceしか見当たらないのだが、Windows 7ではpowercfgコマンドオプションが強化され、エネルギーの効率的な利用がしやすくなっている。
よくWindows Media Centerで録画した番組を見ながら寝落ちしてしまうのだが、寝ている間PCがずっと付けっぱなしってのは電気の無駄遣い。人間がスリープしたらPCもスリープして欲しいものだ。ところが吊るしの状態だとMedia Centerは再生が終わっても画面を表示しっぱなしだったりする…のでこの問題の解決を試みた次第。
まずはコマンドプロンプトをアドミン権限で起動(Run as Administrator)するところから。
powercfg /requests
スリープへの移行を妨げている要因を探るときのコマンド。ドライバーやプロセス、サービスが列記される。思うようにスリープしなかった状態で実行して確認する。何もヒットしなければ、スリープしない要因は他にあると思われる
powercfg /requestsoverride
該当するドライバーやプロセスよりもスリープ実行を優先させるためのコマンド。文法は
POWERCFG -REQUESTSOVERRIDE <CALLER_TYPE> <NAME> <REQUEST>
のようになる。詳しくは
powercfg /?
とかやってヘルプを確認のこと
Media Centerのサービスをオーバーライドする例
powercfg /requestsoverride SERVICE "\Device\HarddiskVolume3\Windows\ehome\ehrecvr.exe (ehRecvr)" SYSTEM
上記の例はUEFIベースのPCなのでHarddiskVolume3になっているけど、BIOSベースのPCだとHarddiskVolume2だったりすると思う。
Windows Media Playerの場合はSYSTEMとDISPLAYに該当するので以下のようになる
powercfg /requestsoverride PROCESS "\Device\HarddiskVolume3\Program Files (x86)\Windows Media Player\wmplayer.exe" DISPLAY SYSTEM
コマンドを実行するとレジストリに値が格納される
HDMI接続でIntelのGPU内蔵サウンドチップを使っていると、比較的簡単にスリープ移行ができるようになるのだが、Realtekのオンボードサウンドを使う場合だと、さらにサウンドドライバーをオーバーライドする必要があるかもしれない。
Environments
ASRock H61M-ITX
Intel Core i3-2120T
IO-DATA GV-MC7/HZ3
Windows 7 Ultimate SP1
References
Powercfg Command-Line Options
システムのエネルギー効率の評価に PowerCfg
レッツ! Windows 7 - 電源管理編(4)