diff --git a/pkg/networkserver/grpc_gsns.go b/pkg/networkserver/grpc_gsns.go index b6fb6d6217..7290b474ef 100644 --- a/pkg/networkserver/grpc_gsns.go +++ b/pkg/networkserver/grpc_gsns.go @@ -1152,6 +1152,11 @@ 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, + }, }, }, })