Assigned
Status Update
Comments
ww...@gmail.com <ww...@gmail.com> #2
My SD card's file system supports a last modified timestamp; that is 'adb shell touch /mnt/sdcard/foo' works as expected. I need to check that calling from runtime works as well.
ad...@google.com <ad...@google.com> #3
I couldn't reproduce this with a test case.
@hardwick.jim if this test doesn't pass for you, could you paste its output here? As well as your device's full version information. Thanks.
public final class FileTest extends TestCase {
public void testSetLastModified() {
File file = new File("/mnt/sdcard/foo");
assertTrue(file.setLastModified(0));
assertEquals(0, file.lastModified());
}
}
@hardwick.jim if this test doesn't pass for you, could you paste its output here? As well as your device's full version information. Thanks.
public final class FileTest extends TestCase {
public void testSetLastModified() {
File file = new File("/mnt/sdcard/foo");
assertTrue(file.setLastModified(0));
assertEquals(0, file.lastModified());
}
}
sa...@gmail.com <sa...@gmail.com> #4
[Comment deleted]
ni...@gmail.com <ni...@gmail.com> #5
Attached is the logcat lines from your testcase and my FileTest.java for line number references.
Device is a Motorola Xoom 3G from Verizon, Android 3.1, HMJ37, rooted. I'm not sure what other device info you need, so let me know if you need more.
I can also post the source and results of my tests on stock HMJ37 Xooms - both 3G and WiFi only - but it will take a couple days to get my hands on those devices again since I only own the rooted Xoom.
Device is a Motorola Xoom 3G from Verizon, Android 3.1, HMJ37, rooted. I'm not sure what other device info you need, so let me know if you need more.
I can also post the source and results of my tests on stock HMJ37 Xooms - both 3G and WiFi only - but it will take a couple days to get my hands on those devices again since I only own the rooted Xoom.
Description
What
User experience
What type of Android issue is this?
Battery / Charging
What steps would let us observe this issue?
What did you expect to happen?
Battery drain should be minimal during idle time (1-3% in Airplane Mode, 3-5% in normal mode).
What actually happened?
I am experiencing excessive battery drain overnight on my Pixel 6 running Android 16 Beta 2. The drain occurs both in Airplane Mode and normal mode, even with the screen off. • Example 1 (Airplane Mode ON): • Battery before sleep: 63% Battery after 9 hours 9 minutes: 50% (13% drain) • Example 2 (Normal Mode - No Airplane Mode): • Battery also drains at a similar or even faster rate when left idle overnight. Steps to Reproduce: 1. Fully charge the phone before sleeping. 2. Leave it idle overnight, either in Airplane Mode or normal mode. 3. Wake up and check the battery percentage.The phone is losing 10-15% battery overnight, which is unusually high.
What was the effect of this issue on your device usage, such as lost time or work?
High
Additional comments
• Device: Pixel 6 • Android Version: Android 16 Beta 2 • Battery Health: 93% • Wi-Fi & Bluetooth Scanning: Turned off • No Active Apps: Checked in Battery Usage • Temperature Conditions: Normal indoor temperature • Troubleshooting Done: Restarted device, checked battery usage, disabled background location scanning
When
Time and frequency
Time when bug report was triggered: Feb 20, 2025 10:55 AM GMT+05:00
How often has this happened?
Every time
Where
Component
Originating component: <not visible> (1684638)
Build and device data
- Build Number: google/oriole_beta/oriole:Baklava/BP22.250124.009/13034193:user/release-keys
(Note: It is the build when sending this report. For exact build reference, please see the attached bugreport.)
Debugging information
Google Play services
com.google.android.gms
Version 250434035 (25.04.34 (260400-724427116))
System App (Updated)
Android System WebView
com.google.android.webview
Version 683416333 (132.0.6834.163)
System App (Updated)
Network operator: PAK - PL
SIM operator: ZONG
Filed by Android Beta Feedback. Version (Updated): 2.46-betterbug.external_20241023_RC01 (DOGFOOD)https://developer.android.com/preview/feedback#feedback-app .
To learn more about our feedback process, please visit