From 3322c46a4fc68e6f436ccd0e2ad6d7da4dd62326 Mon Sep 17 00:00:00 2001 From: Awin Huang Date: Tue, 29 Nov 2022 22:23:42 +0800 Subject: [PATCH] vault backup: 2022-11-29 22:23:42 --- .obsidian/workspace.json | 28 +++++++++++++------ .../00. Inbox/[APP] 設定CPU Power mode.md | 3 ++ 2 files changed, 23 insertions(+), 8 deletions(-) create mode 100644 00. Inbox/00. Inbox/[APP] 設定CPU Power mode.md diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json index 27ad3ce..158f0b8 100644 --- a/.obsidian/workspace.json +++ b/.obsidian/workspace.json @@ -37,14 +37,26 @@ "state": { "type": "markdown", "state": { - "file": "05. 資料收集/軟體工具/git/tag.md", + "file": "00. Inbox/00. Inbox.md", "mode": "preview", "source": true } } + }, + { + "id": "e162fd79edceace8", + "type": "leaf", + "state": { + "type": "markdown", + "state": { + "file": "00. Inbox/00. Inbox/[APP] 設定CPU Power mode.md", + "mode": "source", + "source": true + } + } } ], - "currentTab": 2 + "currentTab": 3 } ], "direction": "vertical" @@ -102,7 +114,7 @@ "state": { "type": "backlink", "state": { - "file": "05. 資料收集/軟體工具/git/tag.md", + "file": "00. Inbox/00. Inbox/[APP] 設定CPU Power mode.md", "collapseAll": false, "extraContext": false, "sortOrder": "alphabetical", @@ -119,7 +131,7 @@ "state": { "type": "outline", "state": { - "file": "05. 資料收集/軟體工具/git/tag.md" + "file": "00. Inbox/00. Inbox/[APP] 設定CPU Power mode.md" } } } @@ -147,17 +159,17 @@ "direction": "horizontal", "width": 319.5 }, - "active": "7c7ea3aad0c7e405", + "active": "e162fd79edceace8", "lastOpenFiles": [ - "05. 資料收集/Tool Setup/Software/Windows 10 Setup.md", + "00. Inbox/00. Inbox.md", "05. 資料收集/軟體工具/git/tag.md", + "05. 資料收集/Tool Setup/Software/Windows 10 Setup.md", "00. Inbox/01. TODO.md", "01. 個人/00. Informations/Datas.md", "00. Inbox/03. Mind Map.md", "05. 資料收集/軟體工具/git/apply.md", "05. 資料收集/軟體工具/git/submodule.md", "02. 工作/01. Logitech/Sentinel.md", - "02. 工作/01. Logitech/Tiny.md", - "04. Programming/FFMPEG/FFMpeg.md" + "02. 工作/01. Logitech/Tiny.md" ] } \ No newline at end of file diff --git a/00. Inbox/00. Inbox/[APP] 設定CPU Power mode.md b/00. Inbox/00. Inbox/[APP] 設定CPU Power mode.md new file mode 100644 index 0000000..783869a --- /dev/null +++ b/00. Inbox/00. Inbox/[APP] 設定CPU Power mode.md @@ -0,0 +1,3 @@ +用 [`PowerWriteACValueIndex()`](https://learn.microsoft.com/en-us/windows/win32/api/powersetting/nf-powersetting-powerwriteacvalueindex) 或是 `PowerWriteDCValueIndex()` 來設定,然後用 `PowerSetActiveScheme()` 使其生效。 + +關於 scheme 的 GUID: https://learn.microsoft.com/en-us/windows/win32/power/power-setting-guids \ No newline at end of file