A live CPU tile
A tile that shows the CPU load and turns amber, then red and blinking, when it gets busy. It teaches variables and dynamic rules.
- Add a Button (or a Label if you do not need it to be pressable).
- Set its Text to
CPU {system.cpu|0}%. To insert the variable, click + Add variable and picksystem.cpu. The|0shows whole numbers. - Set a dark Background and a light Text color.
- Click the lightning-bolt next to Background. In the Build logic window:
- If
system.cpugreater than80Then a red. - Click Add condition for Else if
system.cpugreater than50Then amber. - Leave Else unchanged so your dark background shows. Apply.
- If
- Click the lightning-bolt next to Animation: If
system.cpugreater than80Then Blink. Apply. - Optional: bind Press to Open application and choose Task Manager (
taskmgr.exe). - Save.
Start something heavy on the PC and watch the tile change on your phone.
Ideas
RAM {system.ram|0}% ({system.ram.used|0.0}/{system.ram.total|0} GB){system.time|HH:mm}as a clock label.
