Repairs for a device such as a receptacle, switch, or breaker typically takes about 20 minutes from start to finish.
A light replacement—including removal of the old one—takes about 30 minutes.
Installing a new/dedicated circuit usually requires several hours from start to finish.
Replacement of a panel and/or service requires several hours, requiring power off from early morning until later in the afternoon, and sometimes into the evening.