Scripting Traffic, Aligning Power: A 5G Testbed Integrating gNB Activity and Commercial UE Power
Abstract
On a modern smartphone, the cellular subsystem is one of the largest energy consumers, with power jointly determined by application-layer IP traffic and the gNB's configuration and scheduling decisions. Studying this relationship on real hardware is challenging because the application server, radio activity, and UE are distributed across separate systems, making it difficult to instrument and control them within a single experimental environment. We present a configurable 5G testbed that integrates these components into a unified experimental platform. The platform drives either real Internet applications or arbitrary scripted traffic over the same radio path and links per-slot gNB activity to hardware-measured UE power. As one demonstration of what the resulting dataset enables, we build gNB-Power, an XGBoost estimator that predicts commercial UE power from gNB-observable features alone, roughly halving the error of the standardized TR 38.840 baseline and transferring from synthetic to real applications on this testbed. The platform offers a flexible measurement primitive for UE power-saving studies, enabling controlled investigation of how both application-layer and network-side decisions affect UE energy consumption.