3
I've got a small home network with a DiskStation NAS and a Raspberry Pi server, both of which can do various chores such as controlling power plugs among other things. I want these two machines to be able to realize and distinguish between me being at home, my partner being at home or both/noone of us being at home.
My best idea so far has been to check wether the respective smartphones are currently connected to Wifi, just by using the Raspberry Pi to ping their IPs or dhcp hostnames. The system should be somewhat responsive, so the minimum period between should not exceed something like maybe 30 seconds.
Can anyone make an educated guess on how frequent pings will affect the battery life of the smartphone while connected to the network?
1I do not see where this question is based on opinion. I'm asking for the impact on battery life when constantly pinging a smartphone and there shoulb be answers based on facts. – inVader – 2013-11-20T22:17:04.840