This example wakes up for about 0.05 seconds each minute to do the logging, then once an hour fires up Wifi and dumps that hour's readings to the server. 

Once DHCP and so on are taken into account, the hourly wakeup can last for several seconds. This technique enables the imp to use only tiny amounts of power overall: useful when running from a battery.