Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Raul Libório rauhmaru

🎯
Focusing
  • openSUSE
  • Salvador/BA
View GitHub Profile
@rauhmaru
rauhmaru / throttled.sh
Created Apr 17, 2021 — forked from aallan/throttled.sh
Script to parse the output of the 'vcgencmd get_throttled' command on a Raspberry Pi
View throttled.sh
#!/bin/bash
# https://retropie.org.uk/forum/topic/2295/runcommand-warning-if-voltage-temperature-throttling
#Flag Bits
UNDERVOLTED=0x1
CAPPED=0x2
THROTTLED=0x4
HAS_UNDERVOLTED=0x10000
HAS_CAPPED=0x20000