What is getTcpBytesSent(mWhich);
What does the function getTcpBytesSent(mWhich) do? It is a BatteryStats packag开发者_JAVA技巧e function.
It gets the number of Tcp Bytes Sent.
TCP is the network protocol used for most IP traffic (UDP can also be used).
This stat is relevant to battery usage because radio interfaces (Wifi/Bluetooth/GPRS) all draw power, and sending/receiving data reduces battery life.
精彩评论