power: Log when reading wakeup count from sysfs.

Make powerd log a line like "Reading wakeup count from
/sys/power/wakeup_count" before it reads the wakeup count
and "Read wakeup count ___" after it's done.

We've had problems with these reads hanging in the past due
to kernel bugs. This makes it hopefully easier to deduce
where the problem lies instead of just seeing that powerd is
hanging with "Starting request ___" at the end of its log
file.

BUG=chromium:463359
TEST=none

Change-Id: I65d27dcaa1f3cd9d6176d040e296b3cb9a3dc80f
Reviewed-on: https://chromium-review.googlesource.com/306760
Commit-Ready: Dan Erat <derat@chromium.org>
Tested-by: Dan Erat <derat@chromium.org>
Reviewed-by: Eric Caruso <ejcaruso@chromium.org>
1 file changed