yashsingh1/xdaforums huggingface dataset:
[G Tablet Q&A, Help & Troubleshooting] stiphy:
Nevermind on this, I just realized that going stock blew away ClockworkMod so that definitely isn't the culprit.

I don't have an SD card inserted so that can't be the issue. I actually just put one in to see if that would clear things up but it didn't (and I took it back out). I'm going to try the new 4.2.0 of tapntap lite and see if that improves things.

It's encouraging somewhat to hear that it went away on its own, although you are right, that doesn't make much sense. I'm thinking that maybe something got installed on your system that prevents it from sleeping itself to death: just as on my system this never happens if it's "scanning internal storage for media" or anything like that, maybe something is keeping your's alive. I just wish I could get some logs from the system as to what is going on etc. I just bought it Saturday so I have a bit of play time before I'd have to return it (bought it from a Sears store down here in the US Virgin Islands) so I can wait things out a bit...it doesn't make sense that this would be hardware related given the number of people who've seen it and fixed it with software.

Sean
[G Tablet Q&A, Help & Troubleshooting] 2manytoys:
As soon as I got mine I installed Launcher Pro and Touchdown (it was set to receive items as they arrive, so always connected to 3G). At saying that I was still getting the problems (it actually drove me nuts because I had to keep turning it back on the get email).

I've installed some other stuff more recently, but for the purpose of this test, the two programs were installed almost straight away.

If I were to guess, maybe Launcher Pro did something, or a setting I changed within Launcher Pro after a couple of weeks???? The only thing I really remember changing in Launcher Pro was the unticking "Enable Auto Rotation" as that seemed to cause some problems.

Thinking about it more, I realised it improved about the same time I got the battery calibration problem (which I still have, it shows 89% when fully charged, but lasts as long as it should). A file must be written somewhere for it to store the battery calibration information (I'm yet to be able to reset that, even in Clockwork mod "Clear Battery Stats").

I'd probably suggest picking a ROM and just using it for a week or so without changing the ROM. Let it settle. If it still happens take it back a try another one.

Mal.

Hope this helps.
[G Tablet Q&A, Help & Troubleshooting] homgim:
working system

On my Gtab, I have ClockworkMOd V08 and TNT2.4. The first install of TNT2.4 worked until an install of some add'l software. Then the system had the boot after sleep problem and eventually crashed. I did a wipe and a re-install of TNT2.4 and the problem is gone.

While you may want the latest ROM, try a wipe and install of TNT2.4 and see what happens.

SH
[G Tablet Q&A, Help & Troubleshooting] stiphy:
Just did this, still no love. I tried the new 4.2 TNT Lite and have the same problem. I also tried Zpad 3.0 ROM and the problem was even worse, powering down for > 5 seconds consistently reset it.

I'm going stick with TNTLite 4.2.0 for a few days and see if the problem magically disappears.

Maybe there is some sort of race condition/timing issue going on in the Tegra chipset that makes some units behave differently than others or something. Without a way to log things while the unit is sleeping (to see why it dies) I'm not sure how you'd debug this sort of thing though.

Sean
[G Tablet Q&A, Help & Troubleshooting] homgim:
try volume button to wake up

When I had the boot after sleep problem, using the volume button to wake up did indeed wake up and did not boot up. This may have already been suggested in this thread.

SH
[G Tablet Q&A, Help & Troubleshooting] stiphy:
Thanks, I just tried this. I've set the screen timeout to 15 seconds so I never use the power button in my testing and got the same negative result.

I actually decided to stick with Vegan 5.1 and will see if the problem disappears as suggested above.

Sean
[G Tablet Q&A, Help & Troubleshooting] atomicWAR:
used the stay awake option since before my post. Be nice to find a way to let your tablet sleep without the crash to conserve battery. Yeah you can power down but it seems like one of the nice things about a tablet is having the instant access to a computer without the chain to a wall socket. powering down seems to be a self defeating time consuming action.

anyways i find more crashes with sleep on stock (or with enchance) then with other roms but they do still have them. vegan seems the best so far but its market seems a little less complete as is tnt lite's when compared to stock...with enhance (or market only hack). give and take ....
[G Tablet Q&A, Help & Troubleshooting] stiphy:
Some logging information

Ok, I took a little bit of time to try to log exactly what goes on with the system and correspond them to real world events. Attached is the output from "Log2SD" which I got in the marketplace.

Here's the steps I did while capturing the log and the times I did them which correspond to the log file times:

23:01:10 Press Power On Device

23:01:40 Slide Unlock to homescreen

23:01:55 Started Log2SD

23:02:10 Press power, screen shuts off

23:02:18 Press power, screen comes back on

23:02:25 It auto powers off screen since I didn't unlock

23:03:30 Tried to power On with power key, nothing

23:03:38 Tried to power on with power key again, nothing

23:02:42 Held power button to reset

Immediately after the "auto power off" at 23:02:25 logging basically ceases.

I'm not sure what this tells us, maybe I should post some of this info no the development forum to see if anyone there has any ideas. I'm a software developer (although new to Android) so I'm pretty capable of being helpful tracking down issues.

If anyone has any thoughts please let me know! If someone else wants to try to capture logs from their system that is properly sleeping/waking and compare them that might help the cause.

In the meantime I'm going to just try to continue to use the tablet and hope the problem just goes away like others have reported.

Note if you are viewing the logfile on Windows use wordpad not notepad and it will correctly break the lines.

Sean
[G Tablet Q&A, Help & Troubleshooting] miker2431:
I had this problem too. I ended up returning it in favor of a replacement, and my replacement worked fine.
[G Tablet Q&A, Help & Troubleshooting] 2manytoys:
I notice sometimes that when I press the power button it takes a few seconds for the screen to come on.

Try pressing the power button for 1/4 second and waiting 5 seconds to see what happens.

If you hold it down it's like pressing a "restart" button. When you release it the splash screen comes on and it boots up. That may be what is happening here. Try to only press the button for 1/4 second (sometimes less as it doesn't respond, but don't hold it down too long or it will reboot)
[G Tablet Q&A, Help & Troubleshooting] stiphy:
Thanks, I thought of that. I always "tap it" and let it sit for about 5-10 seconds before declaring it "dead."

Sean
[G Tablet Q&A, Help & Troubleshooting] stiphy:
Well I made some progress on this front with a hack. I found an app called "REGPON wifi keepAlive" in the market that keeps the device from "sleeping," even when the screen is off, when wifi is on. The app says it keeps wifi and the cpu on. This seems to be preventing my device from sleeping itself to death after a minute or so.

The trade off is some battery life. The question now is do I keep this hack in place hoping checking back occasionally to see if the problem "just goes away" as other users have reported, or do I still try to exchange it hoping I get a better piece of hardware if it doesn't go away in the next week or so? I wonder how much battery life I'll be losing out on. My fear is that I could end up with another unit that is worse...also I bought it at a "Kmart appliance store" which is actually Sears and they may try to hit me with their 15% restocking fee (which I would refuse).

Thoughts? I'm wondering if someone could tell me how much battery life they lose in a given period of time (say 3 hours) so I can compare the downside to this fix with. I'm going to leave my tab unplugged tonight and to see if the screen comes back on in the morning and to see how much battery life it loses. I'll let you know my results.

Hopefully my workaround helps others!

Sean
[G Tablet Q&A, Help & Troubleshooting] 2manytoys:
I think that shows it's just software.

It's hard for someone to give you an answer of what "percentage" it changes as the calibration for the battery meter is different from device to device. For example, my Tablet charges to about 88% but lasts all day with ease, yet my HTC G2 charges to 100% but stays there for hours before is drops really fast. This is a major pain.

If it was me, I'd probably keep using the Tab and swap it at the last moment if you are worried. If the new one does something similar, which I think it will, at least your mine will be at rest.

Cheers, Mal.
[G Tablet Q&A, Help & Troubleshooting] stiphy:
Yeah, my years of software development are telling me that there is some sort of race/timing condition going on here that is causing it to fail. I'm going to guess the tolerance is pretty wide on different units which is why some units work and others don't, and possibly the timing solidifies after a burn in time so the problem "fixes itself" as other users have said. Looking at other Android forums Sleep of Death is a common issue on many platforms, so maybe the sleep code just hasn't been perfected in these kernel's yet. If it is hardware then its probably the CPU itself or some Voltage regulator that is shutting off power when power draw goes to load or something wierd like that.

On the battery meter thing, that is a good point Mal, I see a lot of complaints here about battery meters being off. Mine does seem to monitor the battery pretty gracefully...it sits at 100% for the first 30 minutes but after that does seem to go down smoothly and consistently to 0.

I put it down (screen off) with 53% charge on the meter last night. 4 hours later it was at 37% (-16%) and 4 hours after that it was at 24% (-13%). So in 8 hours it lost roughly 30% of its life...by my estimates the device would stay on for around 28 hours at this rate from a full charge without being actively used.

I'm wondering if that sounds about right for a Gtablet thats a sleep?

Sean
[G Tablet Q&A, Help & Troubleshooting] Captian1310:
I also use the volume button to wake and i don't have a problem i also rooted and loaded vegan the day i got it home
[G Tablet Q&A, Help & Troubleshooting] 2manytoys:
I think the rate you are dropping in sleep mode is a little more than mine, but it's hard to tell. If I turn off 3G/Bluetooth/Wifi (flight mode) I probably only use 5-10% in 4 hours (but remember, my battery meter is fully charged at about 88% now).

Just so you know, my battery meter was fine for the first 2/3 weeks. It then fully charged at 96%, then a day or two later 93%, then 90% and it's now been on about 88-89% for the last couple of weeks.

I can confirm I haven't experienced a sleep problem at all for at least the last couple of weeks (about the time it got to 88% and settled down).

I just thought of something, when your tab goes to sleep (and ultimately switches off) can you turn it on by a quick tap on the power button (about the speed you would click a mouse button) or by holding your finger on the Home Touch Key (try touching the Home Touch Key for a few seconds and see if the screen turns on).
[G Tablet Q&A, Help & Troubleshooting] jwischka:
Sounds like you might try resetting your battery stats. Could get your meter back to showing 100%.
[G Tablet Q&A, Help & Troubleshooting] DireMerlin:
ok i noticed something interesting today...

left tablet in "sleep" mode at like 90% battery last night (unplugged from charger) - didnt use tablet until like 6pm today (was in bag/unplugged from charger) - powered it on to see only 3% battery

before i used to think that when i pressed the power button to make it sleep - it would just shut down (instantly or in like 5-10secs time)

---now i am beginning to think that it is actually staying in "sleep" mode and the problem is in "waking" it up...

can someone else try to duplicate this?...thanks...
[G Tablet Q&A, Help & Troubleshooting] 2manytoys:
ok, in 9 hours of sleep (in flight-mode) my Zpad has dropped from 80% to 65%. It took about 4-5 seconds to actually turn on the screen on after I tapped the power button (wake from sleep, not reboot).

In response to above, I agree. It seems to take time, sometimes, for the screen to come on after the button has been pressed. I'm sure initially I was pressing the button, it wasn't coming on straight away so I pressed it again, and help it longer. This would have just rebooted the tab.

Jwischka - I installed clockwork mod specifically to reset the battery stat, after trying all types of combinations (in the battery thread) it still only shows 88% when it's fully charged. I does last just as long (actually longer) than I'd expect.

Cheers.
[G Tablet Q&A, Help & Troubleshooting] stiphy:
Great find DireMerlin, I can confirm the same behavior on my GTablet which never "wakes up" after putting it to sleep.

In my test I disabled the workaround I mentioned above. I then put the unit to "sleep" at 10:35am with 57% of battery showing. About a minute later I tired to restore from sleep mode by pressing the power button and got nothing. I let it sit all day and at 8:35pm I held the power button in for 2 seconds to "reboot it." The battery was at 17%, so the tablet consumed 40% of battery in 10 hours.

I had assumed that the problem was that the tablet was actually powering off instead of going to sleep, but this shatters that theory. Instead it looks like it is going to "sleep" but not waking up when you press the power button...otherwise it would not be using battery.

The other thing I notice is that the CPU usage when it is truly "sleeping" is almost identical to the CPU usage that I'm seeing with my Regpon Wifi workaround that I posted above. This is good to know, I'm more likely to keep my unit rather than try for another piece of hardware if there is no real downside. I also like my workaround better in that the screen has 0 delay on startup.

This finding, that the problem is not "sleeping" but "waking up" may prove helpful to devs in the future...

Thanks,

Sean
[G Tablet Q&A, Help & Troubleshooting] DireMerlin:
stiphy how is the stay awake app working for you? Any comments on battery life? And I thought the CPU usage is supposed to go down in sleep mode? Is there any harm in using the stay awake app?
[G Tablet Q&A, Help & Troubleshooting] stiphy:
Dire,

Other than what I posted above, e.g., the battery drain with the stay away app is comparable to the battery drain without it when the device "sleeps" but then won't wake up here's what I found:

I just got back the Archos 101 I had RMA'd for a bad screen (I have bad luck I guess) and charged both it and the GTablet fully. In 6.75 hours the Gtablet was down to 84% and the Archos was at 99%! Both had Wifi, but the Archos didn't have any email accounts configured so that may be why. Also the Archos doesn't have the same wifi setting to "never" sleep/shut down in the configuration options that the Gtablet has so I'm guessing that the reason for the discrepancy was that the Archos simply shut down its wifi.

I'm continuing the test with the wifi turned off on both devices to see if the Gtablet's battery drain slows down.

I'd love it if I had 2 Gtablets, one that "woke up" from sleep and one that didn't but with the keep alive app running so I could compare them directly, from full charge to battery exhaustion.

Sean
[G Tablet Q&A, Help & Troubleshooting] DireMerlin:
Well the wifi stay awake app works. I go from 97% battery to 88% in one hour of sleeping. So that's not bad I guess...good find...
[G Tablet Q&A, Help & Troubleshooting] stiphy:
I combined the keep awake app with "CPU Boost" app which lets you set the CPU to clock down to 245,000 (and I've emailed the dev to have him give lower options) when the screen is off. This may help battery life too. I've got my email accounts to sync every 15 minutes, that will of course affect things as always.

I wish I knew conclusively how this hack on my tab compared battery life wise to a working tab that would wake from sleep.

Sean
[G Tablet Q&A, Help & Troubleshooting] billygtab:
Change my screen time out to 30 mins... for the last two weeks it has not powered down after sleeping.
[G Tablet Q&A, Help & Troubleshooting] stiphy:
Good news Billy, if you get a chance could you post battery drain rates when the screen is off for us?

Thanks,

Sean
[G Tablet Q&A, Help & Troubleshooting] DireMerlin:
I have changed my screen timer to 10, 15, 30, and they were all still shutting down - so that didn't work for me...glad itworked for you though...can you try that with other times now and see if your problem is fixed?
[G Tablet Q&A, Help & Troubleshooting] stanglx:
Maybe a solution?

Guys... pershoot released a new Kernel and so far since this morning I have not had a single instance of it rebooting while waking it up from sleeping... the real test is over night but the longest run I had right now has been 1.5 hours and woke up with no issues...

http://droidbasement.com/db-blog

Let me know what you guys think...
[G Tablet Q&A, Help & Troubleshooting] stiphy:
Still no luck on my Gtablet. If I let it sit in sleep mode for more than 60 seconds it fails to wake up. I'm really starting to think that a hardware swap may be in order on mine, got another week or so before I have to try that.

Sean
[G Tablet Q&A, Help & Troubleshooting] stanglx:
Whats funny is after my reload of my system... complete wipe and reformat of all partitions (except boot)... loaded Vegan - had the issue... Installed the new Kernel and issue went away... I was just got from my Tab for 2 hours... came back on with no issues... before all that I had the issue.

Try doing a complete wipe, format your system partition, clear data partition, cache, etc. reload from scratch... then restore using Titanium backup...
[G Tablet Q&A, Help & Troubleshooting] gtabuser123:
Tried pershoot's kernel. My gtab still has trouble waking up after sleep.
[G Tablet Q&A, Help & Troubleshooting] stanglx:
Well.... I want to report GOOD NEWS! I went the entire night and the device came out of sleep successfully!!! The battery was 55% when I put it to sleep last night at 10pm and today at 8am the battery was at 33% - woke up with no issues... No performance issues, WIFI no issues...

Here are the steps I took:

Since I had loaded many kernels and various roms I figured I should do a reformat..

So the order I took when I finally got fed up with this damn sleep issue (where ever it says rebooted DONT use the reboot function of Vegan - its not properly coded and does a force reboot without properly flushing the cache - use power off instead):

Formatted Data, Cache and System Partitions using CWM (NOT BOOT)

Clear D. Cache

Installed Vegan Rom

Cleared Data and Cache partitions

Rebooted into system

Let system stabilize

Rebooted into CWM

Cleared Data, Cache, and D. Cache

Loaded Pershoot's Kernel

Cleared Data, Cache and D. Cache

Rebooted into system

Let System stabilize

Rebooted into system

Let System stabilize

Did Market Fix

Rebooted into system

Let System stabilize

Loaded Titanium Market

Laoded up all 129 apps

Played various games, read WSJ, Read Yahoo Mail, etc. etc.

Put to sleep.

Woke up and now I am here....

I was almost convinced that it was hardware..
[G Tablet Q&A, Help & Troubleshooting] stiphy:
Great news stanglx! Thanks for posting your steps. Unfortunately they are identical to the ones I took and I'm not having any luck still.

Really odd and frustrating. I still think there is some sort of race condidtion/timing issue here that certain units have slightly different timing etc. causing the problem.

Sean
[G Tablet Q&A, Help & Troubleshooting] kampf:
For only the second time in two weeks my Tab woke from an overnight sleep on the charger. The first time was with an earlier version of the kernel which I have since replaced after a rebuild.

I will report back after a few days for sure.
[G Tablet Q&A, Help & Troubleshooting] stiphy:
Kampf, make sure that you don't have the setting turned on in applications->debugging with the latest build to never allow it to sleep when plugged in. This "fixes" the problem for me too when plugged in but not when on battery.

Sean
[G Tablet Q&A, Help & Troubleshooting] jooky2000:
I have the same "death sleep" issue, however it seems to happen very randomly and always after a considerable amount of time. I have tried every rom out there, but I'm currently testing the VEGAN/pershoot combo recommended here, but it still happened to me.

For what its worth, I am a developer and the "Stay Awake" option has been checked the entire time for all roms where I have experienced the same issue with each.
[G Tablet Q&A, Help & Troubleshooting] kampf:
Mine died this afternoon.

Notably this was some time after I got one of my static bursts on a notification.
[G Tablet Q&A, Help & Troubleshooting] kampf:
That setting was turned off, and I've disabled USB Debugging also.
[G Tablet Q&A, Help & Troubleshooting] stiphy:
I just wanted to update everyone with my status. After working with pershoot over IRC we came to the conclusion that my unit, with it's consistent failure to wake after sleeping for more than a minute, had a hardware flaw.

I exchanged it yesterday at the Kmart Appliance store/mini-Sears we have here where I bought it and the new one is working ok.

So while there are some issues with the software, if you have a unit that consistently fails to wake up after short sleeps you likely have a hardware issue.

I noticed that the battery drain when sleeping now is about 2.5%/hour versus 4%/hour with my Regpon Wifi workaround that I was using with my old unit. So I'm glad I did the exchange as this gives me much more sleep time.

Also, of interest, as soon as I returned it the woman said "what's wrong with this one" in a way that indicated that a lot of them got returned. I explained the problem and she gave me another one without a hassle, but immediately printed up a $279.99 clearance sticker, stuck it to the box and put it in the back. I think they were probably going to ship it back to the Sears Outlet for resale. It makes me leery about buying clerance items though as they seem to have no problem sticking a clearance tag on something that a customer has returned as broken.

That said, I'd probably have been ok with the power issue and my workaround for $279.99...

Thanks to everyone who tried to help, I knew when I got one of these tablets that it would be as much about learning/playing with it as it was about using it so it was a good way to dig deeper into things than I would've if I wouldn't have had the problem!

Sean
[G Tablet Q&A, Help & Troubleshooting] smalis:
I installed "Wi-Fi Keep Alive" from the Market (could not find "REGPON wifi keepAlive"), and this seems to have solved my sleep of death problem.
[G Tablet Q&A, Help & Troubleshooting] kioti:
OK, after reading through all the posts and trying all the suggestions I have come to a conclusion....................all the problems are not the same. My G-tab has the same sleeping problem and after trying all the suggestions, except returning for a new one, I believe mine is hardware related, a flaw in the system, while some of the problems are probably software related.

With that said............ if the software solutions don't fix it, try to return it for a new one. Maybe after Viewsonic gets enough back, they will make a correction in the newer products.:cool:
[G Tablet Q&A, Help & Troubleshooting] sstair:
Fixed in TnT Lite 4.4.0

I had version 4.3.2 of TnT Lite installed, and had the same problems everyone else had: My gTablet would shut down instead of sleeping.

The 4.4.0 update to TnT Lite fixed the problem, and now my gTablet works just fine.

TnT Lite thread