• Recent
    • Docs
    • Github
    • 百度网盘
    • Onedrive
    • Official
    • Shop
    • Register
    • Login

    RTC battery on board?

    Scheduled Pinned Locked Moved PI CM5 Laptop
    5 Posts 2 Posters 397 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • plumlisP
      plumlis
      last edited by

      I saw there is an RTC battery slot on mainboard.
      Is it possible to add a RTC battery on it?

      cool pi laptop with ubuntu 24.04 seems won't save datetime after powered off.

      checked /proc/driver/rtc it works fine but won't sync to system datetime.

      blog: https://plumz.me

      G 1 Reply Last reply Reply Quote 0
      • G
        george @plumlis
        last edited by

        @plumlis
        Firstly, there is no need to add a separate RTC battery on the motherboard. RTC defaults to using the system's 38WH battery storage time.
        The issue of not being able to save time is a system software issue, not an RTC hardware issue. This can be confirmed by the following command:

        cat  /proc/driver/rtc
        

        Regarding how to synchronize the hardware RTC time to the system, the following command can be used:

        timedatectl set-local-rtc 1 --adjust-system-clock
        

        We will try to modify and add it to the system later. Thank you for your support.

        plumlisP 1 Reply Last reply Reply Quote 0
        • plumlisP
          plumlis @george
          last edited by

          @george
          I already tested.

          cat  /proc/driver/rtc
          

          works quite well, but its UTC time.

          after

          timedatectl set-local-rtc 1 --adjust-system-clock
          

          System dateime will sync to UTC with out +8 beijing region.

          blog: https://plumz.me

          1 Reply Last reply Reply Quote 0
          • plumlisP
            plumlis
            last edited by

            Could you tell me what's the type of RTC battery connect pin?

            1mm? 0.8mm?

            I'd like to have a try.

            blog: https://plumz.me

            G 1 Reply Last reply Reply Quote 0
            • G
              george @plumlis
              last edited by

              @plumlis
              The battery of the RTC connector has a spacing of 0.8mm. From the current phenomenon, it is not that the hardware RTC cannot save time, but rather that the hardware RTC time has not been synchronized with the system. So adding this battery won't make any changes.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post