Algorithms determine the effectiveness of battery storage, but have so far been designed for narrow techno-economic objectives with simplified assumptions of user needs. New research considers citizen preferences and develops six battery algorithms that support local economic benefits, decarbonization and explainability.