From f035a817edf8d09896cb329d839f5f916286014b Mon Sep 17 00:00:00 2001 From: Imre Halasz Date: Wed, 18 Dec 2024 17:03:07 +0100 Subject: [PATCH] Revert "ns: Add `LastBatteryPercentage` to the `ApplicationUplink` message" This reverts commit c7e75f7326affabb6c8c2b9518a268563d229f5e. --- pkg/networkserver/grpc_gsns.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkg/networkserver/grpc_gsns.go b/pkg/networkserver/grpc_gsns.go index 7290b474ef..b6fb6d6217 100644 --- a/pkg/networkserver/grpc_gsns.go +++ b/pkg/networkserver/grpc_gsns.go @@ -1152,11 +1152,6 @@ func (ns *NetworkServer) handleDataUplink(ctx context.Context, up *ttnpb.UplinkM ConsumedAirtime: up.ConsumedAirtime, PacketErrorRate: mac.LossRate(stored.MacState, matched.phy), NetworkIds: ns.networkIdentifiers(ctx), - LastBatteryPercentage: &ttnpb.LastBatteryPercentage{ - FCnt: stored.MacState.LastDevStatusFCntUp, - Value: stored.BatteryPercentage, - ReceivedAt: stored.LastDevStatusReceivedAt, - }, }, }, })