Current, voltage and the passive sign convention

Every element gets a reference direction for its current and a reference polarity for its voltage, and when the current enters at the plus sign the element absorbs power $p = vi$, so a negative $p$ means it is delivering power.

From Electric Circuits.