Text this: Resourceful residual energy consumption in TDMA scheduling for IoT-based wireless sensor network