java語言不用擔心內存嗎_不用擔心智能手機的電池,只需使用它

java語言不用擔心內存嗎

java語言不用擔心內存嗎

When you’re trying to get the most life out of your device, it’s easy to overthink batteries. Don’t. Plug in your devices when possible, carry a battery pack with you, and get on with your life.

當您試圖充分利用設備的使用壽命時,容易想到電池的問題。 別。 盡可能插入設備的電源,隨身攜帶電池,繼續您的生活。

A recent Reddit post by user slinky317 struck a nerve with Android users. Here’s the gist:

slinky317用戶最近在Reddit上發布的帖子震驚了Android用戶。 這是要點:

I’ve found though that my life is much better if I just assume that my battery life is going to be awful. In the car and 90% battery? Plug it in. At the office? Start charging. Out for a long day or evening? Better bring a battery pack.

但是我發現,如果我僅假設電池壽命會很糟糕,我的生活就會好很多。 在汽車和90%的電池中? 插上電源。在辦公室嗎? 開始充電。 外出漫長的一天或晚上? 最好帶電池。

It’s such a simple piece of advice you might assume it’s wrong, so I talked to my colleagues and did some research. My conclusion: this is good advice, and we should all follow it. Charge your phone or laptop whenever it’s possible—you’re not hurting anything, and you’re giving yourself the best odds of getting through the day with power.

您可能認為這是一條簡單的建議是錯誤的,所以我與同事交談并進行了一些研究。 我的結論是:這是一個很好的建議,我們都應該遵循。 盡可能為手機或筆記本電腦充電-您不會受到任何傷害,并為自己度過一天中充滿力量的最佳機會。

充電周期如何? (What About Charge Cycles?)

If you think charging your battery throughout the day sounds like a bad idea, I get it: so did I. And the reason I thought this had to do with charge cycles.?I’d heard numerous times that plugging in and unplugging your device is one charge cycle, and that a battery can only be cycled so many times before its capacity is diminished.

如果您認為全天為電池充電聽起來不是一個好主意,那我就明白了:我也是如此。我認為這與充電周期有關的原因。 我無數次聽到插入和拔出設備的信號是一個充電周期,而且在電池容量減少之前,電池只能循環使用多次。

I was missing a key point: a full cycle isn’t every time you plug in and unplug the device—it’s every time you use one battery’s worth of power. To quote Apple’s documentation:

我錯過了一個關鍵點:并不是每次插入和拔出設備都需要一個完整的周期,而是每次使用一塊電池的電量就需要一個完整的周期。 引用Apple的文檔:

For example, you could use half of your notebook’s charge in one day, and then recharge it fully. If you did the same thing the next day, it would count as one charge cycle, not two. In this way, it might take several days to complete a cycle.

例如,您可以在一天之內用掉筆記本電腦一半的電量,然后將其完全充電。 如果您第二天做同樣的事情,則將被視為一個充電周期,而不是兩個。 這樣,可能需要幾天的時間才能完成一個周期。

This means that plugging in my phone when it’s at 95 percent doesn’t count as a charge cycle; it counts as five percent of one cycle. So the next time I’m in the car with a mostly charged battery I might as well plug it in, because I’m only using up five percent of a cycle that I’m going to use up anyway. There’s no benefit in waiting, so you might as well top it off.

這意味著在手機達到95%時插入手機不會算作充電周期。 它占一個周期的百分之五。 因此,下一次我上車時電池充滿電時,我還是會插上它,因為我只用了將要用完的一個周期的百分之五。 等待沒有任何好處,所以您最好將其加滿。

電池記憶已不再是問題 (Battery Memory Isn’t a Thing Anymore)

But what about battery memory, you might be asking. I understand why, but it’s not a relevant question—we’ve debunked battery myths in the past, and this is one of them.

但是,您可能會問電池存儲器呢? 我理解為什么,但這不是一個相關的問題-我們過去揭穿電池神話,這就是其中之一。

Users of modern phones and laptops don’t need to worry about “memory,” because the lithium ion batteries we use now doesn’t have the same problem that NiMH and NiCd batteries did. In a nutshell, those older battery types did suffer a memory effect where their maximum capacity would slowly decline if they were charged regularly after only being partially discharged. For example, if you routinely let your battery drain 50% and then recharged it, over time your battery might remember this 50% charge as its maximum charge level.

現代手機和筆記本電腦的用戶無需擔心“內存”,因為我們現在使用的鋰離子電池沒有鎳氫和鎳鎘電池那樣的問題。 簡而言之,那些較舊的電池確實會產生記憶效應,如果僅在部分放電后進行定期充電,其最大容量將緩慢下降。 例如,如果您通常讓電池消耗50%的電量然后再充電,那么隨著時間的流逝,電池可能會記住這50%的電量是其最大電量。

But with lithium ion batteries, this is no longer a thing. You don’t need to fully deplete your battery on a regular basis: shallow depletions and charges are fine.

但是對于鋰離子電池,這已不再是一回事。 您不需要定期完全耗盡電池:淺層耗盡和充電就可以了。

Actually, fully depleting a modern lithium ion battery on a regular basis is pretty bad for it, and you should especially avoid allowing such batteries to stay depleted for long periods of time.

實際上,定期完全耗盡現代鋰離子電池對它來說是很不好的,您尤其應避免讓此類電池長時間耗盡。

始終攜帶電池組 (Always Carry a Battery Pack)

I was biking to a party when my phone’s battery died. I didn’t have the address handy anywhere but on my phone and was a half hour from home. I ended up knocking on strangers’ doors, asking if I could plug in long enough to see the address. Six people turned me down before someone finally hooked me up.

手機電池沒電了,我正在騎車參加聚會。 除手機外,我沒有任何方便的地址,而且離家半小時。 我最終敲開了陌生人的門,問我能否插上足夠長的時間才能看到地址。 六個人拒絕了我,直到有人最終吸引了我。

Don’t be like me. Carry a fully charged battery pack with you everywhere you go, just in case. Here’s our guide for buying one.

別像我隨身攜帶隨身攜帶的充滿電的電池組,以防萬一。 這是我們的購買指南。

專為使用電池而設計 (Your Battery Is Designed To Be Used)

I understand why people create elaborate battery rituals. Battery life is important, and it sucks to see a strong battery become crappy over time.

我了解人們為什么要制定精心的電池儀式。 電池壽命很重要,并且隨著時間的流逝,強勁的電池變得糟透了。

But spending too much time thinking about your battery’s longterm health doesn’t give you much benefit, and often means you’re not taking advantage of your battery right now. It’s better to not overthink things and generally just keep things charged.

但是,花太多時間思考電池的長期健康狀況并不能給您帶來太多好處,并且通常意味著您現在沒有利用電池。 最好不要考慮太多,而通常只是保持收費。

翻譯自: https://www.howtogeek.com/351074/dont-worry-about-your-battery-just-use-it/

java語言不用擔心內存嗎

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/279438.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/279438.shtml
英文地址,請注明出處:http://en.pswp.cn/news/279438.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

asp.net core結合NLog搭建ELK實時日志分析平臺

0、整體架構 整體架構目錄:ASP.NET Core分布式項目實戰-目錄 一、介紹ELK 1、說明(此篇ELK采用rpm的方式安裝在服務器上)-牛刀小試 承接上一篇文章的內容準備部署ELK來展示asp.net core 的數據。目前此篇文章只用到單臺服務器,等下…

Rhel7 設置目錄權限,acl權限

Rhel7 設置目錄權限,acl權限 改變用戶和組的所屬 Getfacl 取得 Setfacl設置 [rootdesktop0 tmp]# setfacl -m u:natasha:rw fstab [rootdesktop0 tmp]# setfacl -m u:harry:- fstab [rootdesktop0 tmp]# setfacl -m o::r fstab [rootdesktop0 tmp]# getfacl fstab #…

IT兄弟連 JavaWeb教程 AJAX定義以及解決的問題

2019獨角獸企業重金招聘Python工程師標準>>> Ajax是"Asynchronous JavaScript And XML"的縮寫(即:異步的JavaScript和XML),是一種實現無頁面刷新獲取服務器數據的混合技術,Ajax這個概念的最早提出者是Jesse James Garrett。我們知道…

echo和@echo_如何在Echo Show和Echo Spot上切換到24小時時鐘

echo和echoIf you prefer the 24-hour clock format instead of the usual 12-hour format, Amazon recently (and quietly) added the ability to switch between the two on the Echo Show and Echo Spot. 如果您希望使用24小時制而不是通常的12小時制,那么Amazon…

springMVC--XML解析

一 springMVC 入口 web.xml; DispatcherServlet二 初始化過程 1.尋找init(); 查看DispatcherServlet時候時,繼承自servlet,肯定有初始化方法,DispatcherServlet繼承自FrameworkServlet FrameworkServlet繼承自HttpServletBean HttpServletBean繼承自Http…

Vim 4 常用插件

Vim 系列教程目錄: Vim 1 基本使用Vim 2 高級用法Vim 3 vimrcVim 4 常用插件Vim 5 其他編輯器的 Vim 插件Vim 插件網站 Vim 之所以強大, 有個很大的原因就是他有豐富的插件. 插件可以極大地增強 Vim 的功能. 那么去哪里下載插件呢? 插件怎么安裝和管理呢, 聽我慢慢道來. 先說到…

[Windows編程] 通過GetModuleHandleEx 得到函數調用者所在的DLL/EXE 原創陳本峰2009-02

在有些情況下需要得到函數調用者的模塊名字。比如你想限制你的某個函數只能被自己某個特定的DLL調用。 或者比如在異常處理中你想了解是那個DLL/EXE拋出了異常。API函數_ReturnAddress 和GetModuleHandleEx 函數可以幫助我們達到這個目的。以下代碼演示它們的用法:v…

生信入門-愛課程上的華中農業大學

1.生物大分子序列分析 2.主要技術 3.生物信息學的應用 4.應用2 轉載于:https://www.cnblogs.com/BlueBlueSea/p/9610313.html

pc端文本_使用即將推出的Windows功能從PC發送文本

pc端文本Windows/Android/iPhone: Send and receive SMS messages on your PC, and access all the files on your phone without taking it out of your pocket. Windows / Android / iPhone:在PC上發送和接收SMS消息,并訪問手機上的所有文件&#xff0…

日常工作用到的正則

1、手機號碼加*"13422222222".replace(/(\d{3})\d{4}(\d{4})/, $1****$2);2、隱藏銀行卡號"1111111111111111111".replace(/^(\d{4})\d(\d{4})$/, **** **** **** $2); 1111111111111111.replace(/.(?.)/g, *);3、遇見大寫字母改為"_"component…

非常詳細的Exchange 功能路線圖

非常詳細的Exchange 功能路線圖 此路線圖可幫助您熟悉 Microsoft Exchange Server 2010 中的所有功能。第一部分列出了可通過 Exchange 管理控制臺 (EMC) 或 Exchange 命令行管理程序管理的所有功能。該部分還說明如何在 EMC 中導航至功能,并提供指向相應管理主題的…

String類常用方法

定義方法類型描述public String(char[] value)構造直接將一個字符數組變為一個字符串public String(char[] value,int offset,int count)構造將一個指定范圍的字符數組變為字符串public String(byte[] bytes)構造將一個byte數組全部變為字符串public String(byte[],bytes,int o…

python基礎一 day6 文件操作

讀寫只會進行兩步, r模式下寫讀 seek是按字節去找的 for line in f: for循環是一行一行的讀取出來 strip默認去空格和換行符 空格、制表符、換行符、回車、換頁垂直制表符和換行符稱為 “空白字符” for in 一個不可變數據類型,比如字符串,先…

靜態路由默認路由的配置

靜態路由實驗 負載均衡的一點是個人理解,有不正確之處歡迎批評指正。 R1配置: s0/0/0口:193.1.1.9/30(本地) next-hop 193.1.1.10/30 point-to-point link F0/0設置子接口:F0/0.1 172.17.115.1/24 VLAN1 F0/0.5 172.17.110…

r中匯率市場_如何在Word 2013表中匯總行和列

r中匯率市場If you’re working in Word and you need to total values in a table, you can do so without having to enter the data into Excel and then copy and paste it into Word. Word can do simple calculations such as summing, multiplying, and averaging. 如果…

solidity事件詳解

很多同學對Solidity 中的Event有疑問,這篇文章就來詳細的看看Solidity 中Event到底有什么用? 寫在前面 Solidity 是以太坊智能合約編程語言,閱讀本文前,你應該對以太坊、智能合約有所了解,如果你還不了解,建…

敏捷開發

敏捷開發是1990年逐漸引起人們廣泛關注的新型軟件開發方式,它是具有應對快速變化需求的軟件開發能力。相對于非敏捷開發,它是一種以客戶需求為核心,持續迭代,循序漸進的開發方式,敏捷絕非是一種特定的開發方式,而是一種…

MpAndroidChart源碼修改之餅狀圖添加標志線

由于項目需要,需要改MpandroidChart源碼,下面,先看下效果圖:效果圖效果很簡單,但是由于所選依賴庫沒提供相關方法,所以就需要重寫源碼了.這條紅色的標志線其實就是那個影廳的均值嘛,這條線看著是不是和圖表中的連接線很像呢,那把連接線稍加改造不就可以了嗎?下面,先看下此依賴…

數據同步云端本地_如何從云端刪除Windows 8的同步數據

數據同步云端本地The ability to sync data and settings between computers running Windows 8 is great, but it does mean that your information – possibly personal – is stored in the cloud. If you have changed your mind about syncing and want to remove your d…

前端roadmap

轉載于:https://www.cnblogs.com/cleverle/p/9615061.html