summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorparazyd <parazyd@dyne.org>2017-10-24 11:03:17 +0200
committerAaron Marcher <me@drkhsh.at>2017-10-24 11:16:54 +0200
commitd2988c72e3e77e188fda0176ce4969322e69fae9 (patch)
treecc52e57f10c40e18a560ef2ff6c685a282a68459 /util.c
parent7246dc4381c6c95454672a5c1aff65a02d6d3747 (diff)
Return actual percentage for wifi_perc()
Implement basic percentage calculation for wifi_perc. With this commit, the function returns correct percentage, since the max of what /proc/net/wireless returns is 70.
Diffstat (limited to 'util.c')
0 files changed, 0 insertions, 0 deletions