Skip to content

Instantly share code, notes, and snippets.

View rockaut's full-sized avatar

Markus Fischbacher rockaut

View GitHub Profile
@rockaut
rockaut / throttled.sh
Created August 16, 2019 07:35 — forked from aallan/throttled.sh
Script to parse the output of the 'vcgencmd get_throttled' command on a Raspberry Pi
#!/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