BEIJING—China has opened a challenging chapter in its pollution battle, installing electric heaters in village homes near Beijing to cut winter coal-burning, but stoking discontent about rising power bills.

The campaign is part of a bid by Communist Party leaders to clean the air in the city as urban dwellers grow frustrated by noxious smog that peaks in winter.

China’s...