diff options
| author | Mark Salyzyn <salyzyn@google.com> | 2015-07-23 09:22:50 -0700 |
|---|---|---|
| committer | Mark Salyzyn <salyzyn@google.com> | 2015-07-28 16:52:58 -0700 |
| commit | acb1ddf56c98a75a49b263f99ef07ce361dc4323 (patch) | |
| tree | f4eca45de176b4888aa378edb36ac50cefb158d7 /base/errors_unix.cpp | |
| parent | c0e8d0fc50dc635c6723497900cf3b0d2eb572dc (diff) | |
healthd: logd: add timestamp to kernel logged battery messages
Aid monotonic to realtime logging synchronization correction in
the Android ecosystem by providing a periodic notification. We
now have the following messages in the kernel logs:
- PM: suspend entry %Y-%m-%d %H:%M:%S.%09q UTC
- PM: suspend exit %Y-%m-%d %H:%M:%S.%09q UTC
- Suspended for %s.%03q seconds
- healthd: battery l=100 ... %Y-%m-%d %H:%M:%S.%09q UTC
Alter klogd to resynchronize on healthd messages as well.
NB: Time using strftime format, %q is a reference to fractional
second as introduced into log_time strptime method.
Bug: 21868540
Change-Id: I854afc0a07dff9c7f26d2b2f68990e52bf90e300
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions
