Skip to content

Instantly share code, notes, and snippets.

@mtslohn
mtslohn / gist:38704414b67870fe1fec14a788a66541
Created February 19, 2024 15:19
Gigabyte G5 TDP table
From https://www.reddit.com/r/GamingLaptops/comments/s2n9kq/gigabyte_g5_kc_8_months_later_undervolting/
| Power Mode | Max Combined Load | Max CPU Power (PL1) | Max GPU Power |
|---------------|-------------------|---------------------|---------------|
| Power Saving | 100W | 45W | 55W |
| Quiet Mode | 135W | 45W | 85W |
| Entertainment | 125W | 45W | 95W |
| Performance | 135W | 55W | 105W |
@mtslohn
mtslohn / android-home-tv-launcher-toggle.sh
Last active January 30, 2024 15:27
Manage Android Home TV Launcher
# From https://stackoverflow.com/a/66716853
# To disable Android Home TV Launcher (and use any other launcher)
adb shell pm disable-user --user 0 com.google.android.tvlauncher
# To re-enable it
adb shell pm enable --user 0 com.google.android.tvlauncher
@mtslohn
mtslohn / enable-core-parking-config.bat
Created June 21, 2023 13:01
Enable core parking config in Windows 11 to tune processor settings for better battery saving
# Execute this with admin rights
# Use the older power plan settings and look for the core parking settings inside the processor tree
# Set the minimum values to 0
# Set the maximum values on battery to the percentage of a single physical core on your machine (HT processors have two threads per physical core) -- e.g.: CPU with 12 threads and 6 physical cores: 1/6 = 17%
powercfg -attributes SUB_PROCESSOR CPMINCORES -ATTRIB_HIDE
powercfg -attributes SUB_PROCESSOR CPMAXCORES -ATTRIB_HIDE