I've understood it has solar panels. But what would be the reason they didn't put a nuclear battery on board? That would work for years.
If the direct output power of the nuclear battery was too low, it could still be used to charge the rechargeable battery until it can make the lander do work again for a few hours/days.
That was asked during the early hours of the power "uh oh" phase, and someone involved replied that Europe has no ability to manufacture RTGs for political reasons.
I've seen it a few places that they mentioned in the press conference that (mostly for political reasons) there has been almost no development of RTGs in Europe at all so it simply weren't an option.
I also heard from reddit that they didn't want to have radiation contaminate the area where Philea landed, apparently it's a bit hard to keep all of it inside of the lander.
If the direct output power of the nuclear battery was too low, it could still be used to charge the rechargeable battery until it can make the lander do work again for a few hours/days.