View Single Post
Win7Mac's Avatar
Community Council | Posts: 664 | Thanked: 1,648 times | Joined on Apr 2012 @ Hamburg
#549
I put together this script for signal strength, which works fine most the time.
But sometimes I see the attached screen - how is it possible?
Code:
#!/bin/sh

percent=$(qdbus --system com.nokia.csd /com/nokia/csd/csnet com.nokia.csd.CSNet.SignalStrength.SignalPercent)
if [[ $percent -ge 25 ]]
then
echo -n "{{yellow}} $percent % " "{{=0.$percent}}"
else if [[ $percent -le 24 ]]
then 
echo -n "{{red}} $percent % " "{{=0.$percent}}"
fi
fi
Attached Images
 
__________________
Nokia 5110 > 3310 > 6230 > N70 > N9 BLACK 64GB
Hildon Foundation Board member
Maemo Community e.V. co-creator, founder and director since Q4/2016
Current Maemo Community Council member