Then something's wrong. You should be getting 2-4 days idle connected to wifi.
Ignoring the slight facetiousness, whatever's wrong likely has very little to do with wifi. Something is eating CPU and preventing the device from properly sleeping. Figure out what that is.