~fincham/battery

8494a5b398a129e4454c18e0a3e64a632fba9fe2 — Michael Fincham 7 years ago a3a8936 master
Slight formatting fix
1 files changed, 1 insertions(+), 2 deletions(-)

M battery
M battery => battery +1 -2
@@ 68,9 68,8 @@ if __name__ == '__main__':
    if seconds:
        minutes = divmod(seconds, 60)[0]
        hours, minutes = divmod(minutes, 60)
        time = " %i:%i" % (hours, minutes)
        time = " %i:%02d" % (hours, minutes)
    else:
        time = ''

    print("%s %s%%%s" % (state, percentage, time))