Remove some gunk and fix indent
This commit is contained in:
parent
887a9b4e45
commit
34ab214c39
|
@ -171,9 +171,9 @@ check_tdp () {
|
||||||
local pl1=$(uw_to_w $(get_pl 1))
|
local pl1=$(uw_to_w $(get_pl 1))
|
||||||
local pl2=$(uw_to_w $(get_pl 2))
|
local pl2=$(uw_to_w $(get_pl 2))
|
||||||
|
|
||||||
echo "PL1 is ${pl1}W" # Placeholder
|
echo "PL1 is ${pl1}W"
|
||||||
if ( is_detailed $@ ); then
|
if ( is_detailed $@ ); then
|
||||||
echo "PL2 is ${pl2}W" # Placeholder
|
echo "PL2 is ${pl2}W"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
elif ( is_help $@ ); then
|
elif ( is_help $@ ); then
|
||||||
|
@ -256,7 +256,6 @@ gui_handler() {
|
||||||
20 "`printf "\n 20W (High power)\n "`" \
|
20 "`printf "\n 20W (High power)\n "`" \
|
||||||
28 "`printf "\n 28W (Max power / Docked)\n "`"
|
28 "`printf "\n 28W (Max power / Docked)\n "`"
|
||||||
)
|
)
|
||||||
echo $gui_tdp
|
|
||||||
if ! [ -z $gui_tdp ]; then
|
if ! [ -z $gui_tdp ]; then
|
||||||
gui_msg "$(tdp set $gui_tdp --detail)"
|
gui_msg "$(tdp set $gui_tdp --detail)"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue