Power functional theory for active Brownian particles: General formulation and power sum rules | Synapse