~hzliu123/ubuntu/trusty/pm-utils/fix-for-1172692

Viewing all changes in revision 58.

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2012-11-14 15:45:40 UTC
  • Revision ID: package-import@ubuntu.com-20121114154540-94e7vgfzcz6x2rpr
Tags: 1.4.1-9git1
Upload current Debian packaging git head.

* debian/rules: Stop installing sleep.d/55NetworkManager. Current
  NetworkManager does not even expose this API any more, so the
  sleep()/wake() calls just always fail. As NM is apparently able to deal
  with suspends just fine, no need to waste cycles on this.
* Drop 90-nm-proper-wakeup.patch: Obsolete with above change.
* Add debian/time-hook-execution.patch: Measure time that hooks take and
  print them in the log. Also, disable actual suspend call to make hook
  optimization/measure turnarounds more convenient. This is not applied by
  default as the date calls themselves add overhead; just keep it in the
  source package for future use.
* Add 15-video_quirks_on_x86_only.patch: Only run the video quirk handlers
  on x86 and x86_64, as they are quite expensive.
* Add 16-no-powersave-before-suspend.patch: Calling pm-powersave before
  pm-suspend is very slow, it. e. g. takes > 1.5 seconds on a Nexus 7. This
  does not nearly compensate the potentially slightly slower suspend
  operation in low power mode, so disable it.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: