cmos电池_为什么PC依靠电力运行仍需要CMOS电池?

2023-10-09 16:59

本文主要是介绍cmos电池_为什么PC依靠电力运行仍需要CMOS电池?,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

cmos电池

cmos电池

why-do-pcs-still-require-a-cmos-battery-even-though-they-run-on-electricity-00

With all the progress and improvements that have been made with computer hardware, why are some things like the CMOS battery still necessary? Today’s SuperUser Q&A post has the answer to a curious reader’s question.

随着计算机硬件的所有进步和改进,为什么仍需要像CMOS电池这样的东西? 今天的“超级用户问答”帖子回答了一个好奇的读者的问题。

Today’s Question & Answer session comes to us courtesy of SuperUser—a subdivision of Stack Exchange, a community-driven grouping of Q&A web sites.

今天的“问答”环节由SuperUser提供,它是Stack Exchange的一个分支,该社区是由社区驱动的Q&A网站分组。

Photo courtesy of Jim Bauer (Flickr).

图片由Jim Bauer(Flickr)提供。

问题 (The Question)

SuperUser reader Joseph Philipson wants to know why PCs still require a CMOS battery:

超级用户读者Joseph Philipson想知道为什么PC仍然需要CMOS电池:

Why do PCs still require a CMOS battery even though they run on electricity? We are providing lots of power to the PC by switching the CPU plug to our electric board, so why does it still require a CMOS battery?

为什么PC即使依靠电仍需要CMOS电池? 通过将CPU插头切换到我们的电路板上,我们可以为PC提供大量电源,那么为什么它仍需要CMOS电池?

Why do PCs still require a CMOS battery?

为什么PC仍需要CMOS电池?

答案 (The Answer)

SuperUser contributors nhinkle and smokes2345 have the answer for us. First up, nhinkle:

超级用户贡献者nhinkle和smokes2345为我们提供了答案。 首先,nhinkle:

The CMOS battery is not there to provide power to the computer when it is in operation, it is there to maintain a small amount of power to the CMOS when the computer is powered off and unplugged.

CMOS电池在运行时不提供电源给计算机,而在计算机断电并拔下电源时却可以为CMOS供电。

The primary function of this is to keep the clock running even when the computer is turned off. Without the CMOS battery, you would need to reset the clock every time you turned on the computer.

其主要功能是即使关闭计算机也可以保持时钟运行。 如果没有CMOS电池,则每次打开计算机时都需要重置时钟。

On older systems the CMOS battery also provided the small amount of charge required to maintain the non-volatile BIOS memory, which remembered BIOS settings between reboots. On modern systems this information is typically stored in flash memory and does not require a charge to be maintained.

在较旧的系统上,CMOS电池还提供了维护非易失性BIOS内存所需的少量电荷,该内存可记住重启后的BIOS设置。 在现代系统上,此信息通常存储在闪存中,不需要维护费用。

Followed by the answer from smokes2345:

接下来是smokes2345的回答:

Think of it like your car battery. When you unplug the battery, your radio looses all of its presets and the clock resets. Originally, the CMOS battery held a similar function, maintaining the memory that held the BIOS settings and keeping the Real-Time Clock running.

可以将其视为您的汽车电池。 拔下电池时,收音机将失去其所有预设,并且时钟会重置。 最初,CMOS电池具有类似的功能,即保留用于保存BIOS设置的内存并保持实时时钟运行。

However, with modern computers the CMOS battery plays a lesser role as most BIOS firmware is smart enough to automatically detect the correct settings and those settings are stored such that they do not need power to persist. The CMOS battery is still required to maintain the RTC though.

但是,在现代计算机中,CMOS电池的作用较小,因为大多数BIOS固件足够智能,可以自动检测正确的设置,并且存储了这些设置,因此它们不需要电源即可持久。 尽管如此,仍然需要CMOS电池来维持RTC。

More information is available at the following Wikipedia page: Nonvolatile BIOS Memory (CMOS Battery)

可在以下Wikipedia页面上获得更多信息:非易失性BIOS内存(CMOS电池)



Have something to add to the explanation? Sound off in the comments. Want to read more answers from other tech-savvy Stack Exchange users? Check out the full discussion thread here.

有什么补充说明吗? 在评论中听起来不错。 是否想从其他精通Stack Exchange的用户那里获得更多答案? 在此处查看完整的讨论线程。

翻译自: https://www.howtogeek.com/216124/why-do-pcs-still-require-a-cmos-battery-even-though-they-run-on-electricity/

cmos电池

这篇关于cmos电池_为什么PC依靠电力运行仍需要CMOS电池?的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/174259

相关文章

k8s上运行的mysql、mariadb数据库的备份记录(支持x86和arm两种架构)

《k8s上运行的mysql、mariadb数据库的备份记录(支持x86和arm两种架构)》本文记录在K8s上运行的MySQL/MariaDB备份方案,通过工具容器执行mysqldump,结合定时任务实... 目录前言一、获取需要备份的数据库的信息二、备份步骤1.准备工作(X86)1.准备工作(arm)2.手

Java -jar命令如何运行外部依赖JAR包

《Java-jar命令如何运行外部依赖JAR包》在Java应用部署中,java-jar命令是启动可执行JAR包的标准方式,但当应用需要依赖外部JAR文件时,直接使用java-jar会面临类加载困... 目录引言:外部依赖JAR的必要性一、问题本质:类加载机制的限制1. Java -jar的默认行为2. 类加

java -jar命令运行 jar包时运行外部依赖jar包的场景分析

《java-jar命令运行jar包时运行外部依赖jar包的场景分析》:本文主要介绍java-jar命令运行jar包时运行外部依赖jar包的场景分析,本文给大家介绍的非常详细,对大家的学习或工作... 目录Java -jar命令运行 jar包时如何运行外部依赖jar包场景:解决:方法一、启动参数添加: -Xb

eclipse如何运行springboot项目

《eclipse如何运行springboot项目》:本文主要介绍eclipse如何运行springboot项目问题,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目js录当在eclipse启动spring boot项目时出现问题解决办法1.通过cmd命令行2.在ecl

使用nohup和--remove-source-files在后台运行rsync并记录日志方式

《使用nohup和--remove-source-files在后台运行rsync并记录日志方式》:本文主要介绍使用nohup和--remove-source-files在后台运行rsync并记录日... 目录一、什么是 --remove-source-files?二、示例命令三、命令详解1. nohup2.

Spring Boot项目打包和运行的操作方法

《SpringBoot项目打包和运行的操作方法》SpringBoot应用内嵌了Web服务器,所以基于SpringBoot开发的web应用也可以独立运行,无须部署到其他Web服务器中,下面以打包dem... 目录一、打包为JAR包并运行1.打包为可执行的 JAR 包2.运行 JAR 包二、打包为WAR包并运行

使用easy connect之后,maven无法使用,原来需要配置-Djava.net.preferIPv4Stack=true问题

《使用easyconnect之后,maven无法使用,原来需要配置-Djava.net.preferIPv4Stack=true问题》:本文主要介绍使用easyconnect之后,maven无法... 目录使用easGWowCy connect之后,maven无法使用,原来需要配置-DJava.net.pr

Java NoClassDefFoundError运行时错误分析解决

《JavaNoClassDefFoundError运行时错误分析解决》在Java开发中,NoClassDefFoundError是一种常见的运行时错误,它通常表明Java虚拟机在尝试加载一个类时未能... 目录前言一、问题分析二、报错原因三、解决思路检查类路径配置检查依赖库检查类文件调试类加载器问题四、常见

Python如何精准判断某个进程是否在运行

《Python如何精准判断某个进程是否在运行》这篇文章主要为大家详细介绍了Python如何精准判断某个进程是否在运行,本文为大家整理了3种方法并进行了对比,有需要的小伙伴可以跟随小编一起学习一下... 目录一、为什么需要判断进程是否存在二、方法1:用psutil库(推荐)三、方法2:用os.system调用

Python运行中频繁出现Restart提示的解决办法

《Python运行中频繁出现Restart提示的解决办法》在编程的世界里,遇到各种奇怪的问题是家常便饭,但是,当你的Python程序在运行过程中频繁出现“Restart”提示时,这可能不仅仅是令人头疼... 目录问题描述代码示例无限循环递归调用内存泄漏解决方案1. 检查代码逻辑无限循环递归调用内存泄漏2.