summaryrefslogtreecommitdiffstats
path: root/lib/libssl/tls13_record_layer.c
diff options
context:
space:
mode:
authorjca <jca@openbsd.org>2020-05-11 17:57:17 +0000
committerjca <jca@openbsd.org>2020-05-11 17:57:17 +0000
commit4f206c8b48675090b57a59abee4cf8b2951136a2 (patch)
tree7fe6929e532e98e46ed47df0d06b67f3588481a2 /lib/libssl/tls13_record_layer.c
parentSet the record layer legacy version from the TLSv1.3 server. (diff)
downloadwireguard-openbsd-4f206c8b48675090b57a59abee4cf8b2951136a2.tar.xz
wireguard-openbsd-4f206c8b48675090b57a59abee4cf8b2951136a2.zip
More accurate remaining power reporting with disparate batteries
Overall remaining power was computed as the average of the remaining power of each battery, in percents. This doesn't work with batteries of different capacity, so use the total capacity and remaining power instead. Reported by lidstah, successful tests by lidstah and benno@, ok kettenis@
Diffstat (limited to 'lib/libssl/tls13_record_layer.c')
0 files changed, 0 insertions, 0 deletions