An electronic device includes a case for housing electronics. A fan is supported within the case. The fan includes a motor configured to drive fan blades and to generate an electromagnetic charging field. The motor is positioned to provide the charging field to an open area outside the case comprising a charging pad.