diff --git a/lib/skel/.bashrc.d/11-quickinfo.bashrc b/lib/skel/.bashrc.d/11-quickinfo.bashrc index aabfcf1..0c79f4c 100755 --- a/lib/skel/.bashrc.d/11-quickinfo.bashrc +++ b/lib/skel/.bashrc.d/11-quickinfo.bashrc @@ -1183,7 +1183,7 @@ if [ "$show_security_info" = true ]; then fi # Power information if enabled -if [ "$show_power_info" = true ]; then +if [ "$show_power_info" = true ] && declare -F get_power_info >/dev/null; then get_power_info if [[ "$system_power" != "N/A" || "$cpu_power" != "N/A" || "$gpu_power" != "N/A" || "$battery_power" != "N/A" ]]; then boxline ""