~thomas-voss/media-hub/introduce-battery-observer-interface

Viewing all changes in revision 105.

  • Committer: thomas-voss
  • Date: 2014-11-26 11:32:21 UTC
  • Revision ID: thomas.voss@canonical.com-20141126113221-uotheqtf8xblv4f5
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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: