LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-14-2020, 02:42 AM   #31
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by frankbell View Post
This may seem like it's coming from out of left field, but . . . .

Most motherboards have a small button battery, usually a CR-2032 if I remember aright, to support the BIOS/EFI memory in case the computer is removed from power or, in the case of a laptop, the main battery goes dead and the machine is not connected to a power source. This could be an indicator that the motherboard battery, if it has one, needs replacing; otherwise, the machine should have remembered the time setting.

Like I said, a shot in the dark.
Hii frankbell, nice to see you again.

Yes, the cell battery... i know that . The laptop, as i have stripped it naked from back side :-p , there is no cell battery onboard. i believe this cheap chicky china cheap version of hp laptop is powered with capacitor only.. no cell battery.. thats my conclusion,.. hence i would expect it to reset itself when power drained for too long..
This was the case, the user just close the lid for 3 days without charging it. lol
 
Old 12-14-2020, 11:30 AM   #32
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by andrewysk View Post
Hii,
I am glad that after reboot, "ntp service" in "timedatectl" still active.

Q2.I am using gui as well to select time zone, the problem is the gui of systemtime display does not list out ANY list of timezone, i have to manually type it in.. hence i originally didn't know how it should be entered,.. hence always wrong time.. .
Most systems have a settings panel available from the desktop gui that can set the system date/time and timezone so the user does not have to access the command line to do so. That method uses the timezone database with (in gnome) a click on the map to select the proper time zone. I don't know where that is on all systems but from gnome it is accessed from the icons in the upper right corner.

Last edited by computersavvy; 12-14-2020 at 11:33 AM.
 
Old 12-14-2020, 02:03 PM   #33
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Regarding replacing any battery on the motherboard, sometimes this is a risky proposition. For instance to save obvious costs on a battery carrier, they would design a termination circuit which was integral to the PCB and solder the battery top and bottom, both to the board and to a fitting (stiff wire) on the top. I'm not sure soldering on the bottom is always done, they may use a conductive, heat tolerant adhesive, not sure. But I know the issue has come up from time to time and I sort of figured the lab technicians I've worked with are nearly magical talent people and it'd be no problem, only to find that I had touched a very risky subject and they informed me that it could damage the board. So they can contend with 201 size parts, but unexposed solder points such as slugs or under-soldering of things like the battery are difficult and they consider it a risk if it's not a board they have great experience with. And then there are some people who figure it's not a big deal and they've done it before.

Although what you're saying is that this capability may be replaced with a capacitor. Well I'd think that they'd design that to not result in discharge over a matter of days, however age or other factors could be causing it to discharge more rapidly. Still, unsure how you'd diagnose that without detailed design diagrams and schematic for the board.

I think if the problem of discharge is common, then either there's a method to mitigate it, by keeping it attached to a power source, or a way to reset it to the desired time each point where this happens.

Last edited by rtmistler; 12-14-2020 at 02:05 PM.
 
Old 12-14-2020, 05:52 PM   #34
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by rtmistler View Post
Regarding replacing any battery on the motherboard,


I think if the problem of discharge is common, then either there's a method to mitigate it, by keeping it attached to a power source, or a way to reset it to the desired time each point where this happens.
I have never seen a replaceable battery to maintain bios settings on a laptop although they are common on desktops and servers. Since the laptop battery is always supposed to have power it usually would be a moot point, but the ones I have seen have an additional built in rechargeable battery for times when the main battery is removed or dead.

The OP said this happened when the user closed the lid with no charger attached for 3 days so the main battery was drained.

In any case, regardless of how the time got out of step, every bios I have seen in the last 30+ years has a way to set the date/time at that level. My experience goes all the way back to when an 80286 was a "late model" processor
 
Old 12-23-2020, 04:33 PM   #35
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
Using tz in the date command does not change the system timezone. It converts the output of the date command to that tz. If you want to change the time zone of the system use the timdatectl command.

Have you restarted the laptop yet?

Is desktop time / date still wrong?
Hi, The laptop is ok already. date is solved.
 
Old 12-23-2020, 04:44 PM   #36
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,832
Blog Entries: 17

Rep: Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638
Quote:
Originally Posted by rtmistler View Post
The RTC time is the Real Time Clock time and that appears to be correct.

Plus I'm not sure if a problem is that the NTP service is inactive. Are you normally connected to the internet? And any idea what's up with the NTPD on your system?

I believe if you enable that and are connected, it'll be resolved. But if you've specifically set to not be that, then I believe you need a startup script line (forget the command and syntax) which sets the clock based on the RTC.
I'm not intending to be argumentative here, but I do want to point out that it's not necessarily correct to ask people to use NTP. In some cases it could be argued against using it, and for it to be avoided.

If your settings are correct you don't need NTP anyways.
 
Old 12-23-2020, 04:59 PM   #37
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rtmistler View Post
Still, unsure how you'd diagnose that without detailed design diagrams and schematic for the board.
I tear the whole laptop down to the pcb board.. looked for the cell battery, but can't find it. .hence conclude that it is in capacitor form.
 
Old 12-23-2020, 08:17 PM   #38
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
Some of the Palm PDAs used button capacitors that looked exactly like button batteries. I don't know if those are still in use by any devices.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Weird time changes, correct time and date but wrong hour metaschima Slackware 24 08-03-2014 01:14 PM
/root drained up all the disk space ben randall Linux - Server 11 07-15-2009 11:08 PM
how to convert windows date and time to unix date and time jitupatil_2007 General 8 03-31-2008 05:58 AM
Start Date + Time Duration = End Date/Time calculator? ToBe Linux - General 3 09-26-2005 10:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration