Changing %i to %u for the unsigned int lastWatts