you can start mining with a raspberry for a mainset if no owner pc or laptop.. so if you use raspberry ,can minimalize a cost for power. just conected the mier with raspeberry.
If you want now how it work check this out video https://www.youtube.com/watch?v=kqfj4U9LDMw