0.310 (download cache + battery)

This commit is contained in:
Philippe G
2021-04-04 15:52:47 -07:00
parent 3159edc26c
commit 6b368a7c02
6 changed files with 248 additions and 147 deletions

View File

@@ -343,4 +343,9 @@ sub lineInOutStatus {
}
}
sub voltage {
my $voltage = Slim::Networking::Slimproto::voltage(shift) || return 0;
return sprintf("%.2f", ($voltage >> 4) / 128);
}
1;