manu-mayank / android-notifier

Automatically exported from code.google.com/p/android-notifier
0 stars 0 forks source link

No notifications in sleep mode #337

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I/WifiService( 1086): WifiService starting up with Wi-Fi disabled
I/WifiService( 1086): WifiService trying to setNumAllowed to 11 with persist 
set to true
D/WifiService( 1086): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService( 1086): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@449d5968}
D/WifiService( 1086): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@449d5968}
D/WifiWatchdogService( 1086): (android.server.ServerThread) MGL 
(60:33:4b:e5:e7:71) does not require the watchdog
D/WifiService( 1086): ACTION_SCREEN_OFF
D/WifiService( 1086): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService( 1086): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService( 1086): ACTION_SCREEN_ON
D/WifiService( 1086): acquireWifiLockLocked: WifiLock{Android Desktop type=1 
binder=android.os.BinderProxy@44c66518}
D/WifiService( 1086): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService( 1086): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService( 1086): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService( 1086): ACTION_SCREEN_OFF
D/WifiService( 1086): ACTION_BATTERY_CHANGED pluggedType: 0
D/RemoteNotifier( 5277): Using level 5 caller ID
D/WifiService( 1086): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService( 1086): ACTION_SCREEN_ON
D/WifiService( 1086): ACTION_SCREEN_OFF
D/WifiService( 1086): releaseWifiLockLocked: WifiLock{Android Desktop type=1 
binder=android.os.BinderProxy@44c66518}
D/WifiService( 1086): acquireWifiLockLocked: WifiLock{Android Desktop type=1 
binder=android.os.BinderProxy@44c0fad8}
D/WifiService( 1086): ACTION_BATTERY_CHANGED pluggedType: 0
V/WifiMonitor( 1086): Event [CTRL-EVENT-STATE-CHANGE id=17 state=6 
BSSID=00:00:00:00:00:00]
V/WifiStateTracker( 1086): Changing supplicant state: COMPLETED ==> 
GROUP_HANDSHAKE
V/WifiMonitor( 1086): Event [WPA: Group rekeying completed with 
60:33:4b:e5:e7:71 [GTK=TKIP]]
V/WifiMonitor( 1086): Event [CTRL-EVENT-STATE-CHANGE id=17 state=7 
BSSID=00:00:00:00:00:00]
V/WifiStateTracker( 1086): Changing supplicant state: GROUP_HANDSHAKE ==> 
COMPLETED
D/WifiService( 1086): ACTION_SCREEN_ON
D/WifiService( 1086): ACTION_SCREEN_OFF
D/RemoteNotifier( 5432): Using level 5 caller ID
D/WifiService( 1086): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService( 1086): releaseWifiLockLocked: WifiLock{Android Desktop type=1 
binder=android.os.BinderProxy@44c0fad8}
D/WifiService( 1086): acquireWifiLockLocked: WifiLock{Android Desktop type=1 
binder=android.os.BinderProxy@44b5d3c0}
D/WifiService( 1086): ACTION_BATTERY_CHANGED pluggedType: 0
V/WifiMonitor( 1086): Event [CTRL-EVENT-STATE-CHANGE id=17 state=6 
BSSID=00:00:00:00:00:00]
V/WifiStateTracker( 1086): Changing supplicant state: COMPLETED ==> 
GROUP_HANDSHAKE
V/WifiMonitor( 1086): Event [WPA: Group rekeying completed with 
60:33:4b:e5:e7:71 [GTK=TKIP]]
V/WifiMonitor( 1086): Event [CTRL-EVENT-STATE-CHANGE id=17 state=7 
BSSID=00:00:00:00:00:00]
V/WifiStateTracker( 1086): Changing supplicant state: GROUP_HANDSHAKE ==> 
COMPLETED
D/RemoteNotifier( 5527): Using level 5 caller ID
D/WifiService( 1086): ACTION_SCREEN_ON
D/WifiService( 1086): releaseWifiLockLocked: WifiLock{Android Desktop type=1 
binder=android.os.BinderProxy@44b5d3c0}
D/WifiService( 1086): acquireWifiLockLocked: WifiLock{Android Desktop type=1 
binder=android.os.BinderProxy@44aa7b38}
D/RemoteNotifier( 5527): Using real bluetooth utils
I/RemoteNotifier( 5527): Starting notification service
D/RemoteNotifier( 5527): Battery status: Discharging
D/RemoteNotifier( 5527): Got battery level: 30
D/RemoteNotifier( 5527): Battery level change: 31
D/RemoteNotifier( 5527): Notifying of battery state change
D/RemoteNotifier( 5527): Sending notification: 
v2/22a0000015efec09/8ecb023fa4047f/BATTERY/30/Discharging, remaining charge: 30%
D/RemoteNotifier( 5527): Sending wifi notification to IP 137.131.108.70
D/RemoteNotifier( 5527): Sending over UDP
D/RemoteNotifier( 5527): Sent over UDP
D/RemoteNotifier( 5527): Sending over TCP
D/RemoteNotifier( 5527): Sent over TCP
I/RemoteNotifier( 5527): Sent notification over WiFi.
What steps will reproduce the problem?
1. Enable notifier
2. Wait for the phone to go in sleep mode
3. Notifications are not sent (i.e. new SMS)

What is the expected output? What do you see instead?
As soon the phone is awake, a notification is sent (see battery), but previous 
ones are lost.
The wifi is always on (tested with a Connect session still open in bg)

Please paste the application's log here (it should now be on your
clipboard):

What version of Android are you using?
2.2.1 on Droid1 vanilla ROM

Original issue reported on code.google.com by ntro...@gmail.com on 17 Jan 2011 at 2:54

GoogleCodeExporter commented 8 years ago
I've made further tests, and the problem seems to be specifically related to 
SMS/text messages. My guess is that a phone call wakes completely up the phone, 
turning the screen on and so on... while an SMS seems to trigger only a 
notification (that's on the Motorola Droid is a blinking led on a corner).

Original comment by ntro...@gmail.com on 22 Jan 2011 at 3:04

GoogleCodeExporter commented 8 years ago
p.s. it would be really nice to remove the IP addresses that are shown in the 
log...

Original comment by ntro...@gmail.com on 22 Jan 2011 at 3:05

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I have the problem too.

Original comment by Thorsten...@gmail.com on 14 Feb 2011 at 12:59