~jhodapp/media-hub/fix-1435088

Viewing all changes in revision 120.

Introduce an interface media::power::BatteryObserver to monitor the current battery level of the system.
The core reacts to low/very low battery levels by pausing all multimedia playback sessions and
resumes them whenever the user has been notified of the critical battery level.
Provide an implementation of media::power::BatteryObserver using com.canonical.indicator.power.Battery.
Adjust media::ServiceImplementation to use media::power::BatteryObserver.
Approved by: Jim Hodapp, PS Jenkins bot

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: