In this talk, we present our algorithm for energy distribution in programmable matter. We also detail our self-stabilizing extension of the amoebot model’s well-established spanning forest primitive. We conclude by showing how these algorithms generalize previous work to also consider energy constraints.