tailscale/net/sockstats
Will Norris ba3ff98da1 net/sockstats: wait before reporting battery usage
Wait 2 minutes before we start reporting battery usage. There is always
radio activity on initial startup, which gets reported as 100% high
power usage.  Let that settle before we report usage data.

Updates tailscale/corp#9230

Signed-off-by: Will Norris <will@tailscale.com>
(cherry picked from commit ea84fc9ad2)
2023-05-10 15:12:20 -05:00
..
label_string.go sockstats: add labels for netlog and sockstatlog packages 2023-03-29 14:53:07 -07:00
sockstats.go all: avoid repeated default interface lookups 2023-04-20 15:46:01 -07:00
sockstats_noop.go all: avoid repeated default interface lookups 2023-04-20 15:46:01 -07:00
sockstats_tsgo.go net/sockstats: wait before reporting battery usage 2023-05-10 15:12:20 -05:00
sockstats_tsgo_darwin.go sockstats: add validation for TCP socket stats 2023-03-08 13:39:30 -08:00
sockstats_tsgo_test.go net/sockstats: wait before reporting battery usage 2023-05-10 15:12:20 -05:00