Skip to content

Instantly share code, notes, and snippets.

View rauhmaru's full-sized avatar
🎯
Focusing

Raul Libório rauhmaru

🎯
Focusing
  • openSUSE
  • Salvador/BA
View GitHub Profile
@rauhmaru
rauhmaru / throttled.sh
Created April 17, 2021 20:00 — 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